, , , ...
, USB-. , . , VideoCapture , , : VideoCapture cap1, cap1 , VideoCapture cap2, cap2 THEN cap1 cap2, , cap1, , , cap2, ... .
What if you really want to use opencv for this - add some streams: one deals with the left frames and the other with the correct frames, and does nothing but save the last frame received (so that you will always deal with the latest frames). If you want to get your frames, you just need to get them from abstract threads.
I have done something if you need here .
Mieos source
share