Ask Your Question

Revision history [back]

how to get separate left sensor image and right sensor image using opencv

<andrev> could you name a sequence which will capture video as the following does:luvcview -d /dev/video0 -f MJPG -S 1280x480 output

will the following does the trick:cap.set(CV_CAP_PROP_FOURCC ,CV_FOURCC('M', 'J', 'P', 'G') ) if accompained with cap.set(CV_CAP_PROP_FRAME_WIDTH, 1280); and cap.set(CV_CAP_PROP_FRAME_HEIGHT, 480); ? will there be a way to split somehow left and right sensors images which is acquired if using luvcview -d /dev/video0 -f MJPG -S 1280x480 ? If using videocapture cap(0) it just returns a single image Thanks Andrey