Stereoscopic Vision

Compute Module: stereoscopic vision

The Raspberry Pi Compute Modules allow to connect two camera modules to two separate CSI ports. Since stereoscopic vision is disabled by default in UV4L, to enable it you must specify the –stereoscopic-mode option when loading the driver. Here is a basic example:

raspberrypi ~ $ uv4l --driver raspicam --auto-video_nr --stereoscopic-mode=side_by_side --encoding=mjpeg --width=2360 --height=720

With the stereoscopic mode specified above two 1280×720 image captures from the two camera modules will be placed side by side in the final video frame; another mode is top_bottom. Other (not mandatory) options affecting stereoscopic vision are –decimate to enable frame decimation and –camera-number to set the primary and secondary camera ports (please refer to the manual for more details).

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.