The video streaming is based on the configuration of MOTION for linux. The default camera is the RPI Camera. Do not forget to raspi-config to activate camera drivers.
To optimize the video stream, I increased the /etc/motion/motion.conf framerate to 30 fps. I also reduced the size of the capture to 320×240 pixels. This is more than enough to drive the robot.
Looks like motion can pipe into openCV for image recognition. This is what’s I’m going to focuse on in the next days.