Hey Guys,
We are having problems accessing the two eyes cameras at the same time with OpenCV. We can get the stream of only one camera at the same time but when we try to get both (using cap.capture() for video 0 and 1) we cannot get any of the streams. Is there anything we can do to bypass this issue?
Thanks a lot !
Hey Guys,
We are having problems accessing the two eyes cameras at the same time with OpenCV. We can get the stream of only one camera at the same time but when we try to get both (using cap.capture() for video 0 and 1) we cannot get any of the streams. Is there anything we can do to bypass this issue?
Thanks a lot !
Hi Faturita,
you can use >lsusb . in order to know the ID cameras or
a better test to see if Linux detected the cam correctly is: cat /sys/class/video4linux/video0/name
Thank you very much for the response !!!!!
They are both detected. I can use any of them, but not both at the same time (which is something great while you are trying stereo vision). Did you try that ?
Found the issue. I had to restrict the size of the frames to at least 640x480. Otherwise the buffer is saturated. Adding the size to OpenCV VideoCapture allows to have stereo vision. Thanks for the help !