Remote Camera investigations - bennest/ROV GitHub Wiki

Get remote camera streaming working

From here I managed to get the camera working after a lot of research! There is firmware bug on the revision 2 Raspberry whereby if I2C is enabled in the config (as mine was) the camera won't work. Disable it and run raspistill -d 40000 (in terminal).

Look at Video block instructions

Perhaps use raspistill? Seems like there's a preview (continuous) mode, not sure where it sends the video stream or how it would work remotely. Discussion here.

Can use scratchClient to execute Linux commands.

Consider ZoneMinder to handle the streams? Here's an article on how to set it up.

There's a nice video on Pi camera module setup at: https://www.raspberrypi.org/help/camera-module-setup/

Check out V4L2 driver, lv4l2-ctl command, and also maybe gstreamer.

Setting up motion to stream from a local webserver instructions http://patoss.jorgerance.com/

If I have to use Python, maybe use the picamera library https://picamera.readthedocs.io/en/release-1.13/.

Preview the camera instructions here, although it says it won't work over VNC: https://projects.raspberrypi.org/en/projects/getting-started-with-picamera/5

Instructions on how to record video using python, https://projects.raspberrypi.org/en/projects/getting-started-with-picamera/7, but also how to play back using omxplayer. can use this instead of VLC?

Lots of cool effects described here: https://projects.raspberrypi.org/en/projects/getting-started-with-picamera/8

This looks to be the doco of how Scratch implements the camera: https://github.com/LLK/Scratch_1.4/blob/master/src/plugins/camera/sqCamera-linux.README

There's opencv, which looks to be mostly about computer vision, face tracking etc. Here's how to install on RPi http://www.instructables.com/id/RasPi-OpenCV-Face-Tracking/. Further good tutorials here https://docs.opencv.org/2.4/doc/tutorials/tutorials.html. More OpenCV install instructions here.

Displaying image as background to scratch, instructions here: https://www.raspberrypi.org/forums/viewtopic.php?t=146440

How to set up motion on RPi here https://www.raspberrypi.org/forums/viewtopic.php?t=166287#p1071988

Motion homepage here: https://motion-project.github.io/

Adafruit Picamera setup instructions here: https://learn.adafruit.com/cloud-cam-connected-raspberry-pi-security-camera/pi-camera-setup includes discussion of wide angle lens and NoIR.

Perhaps use Adafruit-IO? https://learn.adafruit.com/cloud-cam-connected-raspberry-pi-security-camera/adafruit-io

Seems there's an OS called MotionEyeOS that could be used: https://null-byte.wonderhowto.com/how-to/create-wireless-spy-camera-using-raspberry-pi-0180123/

C++ library here https://www.uco.es/investiga/grupos/ava/node/40