Have anyone tested to run two USB camera at the same time? I am trying to get it running by following code, seems like the second never going to start.
import cv2 cap0 = cv2.VideoCapture(0) cap0.set(3,640) cap0.set(4,480) ret1, img1=cap0.read() print(ret1) cap1 = cv2.VideoCapture(1) cap1.set(3,640) cap1.set(4,480) ret2,img2=cap1.read() print(ret2) cap0.release() cap1.release()
Both are See3Cam connected via USB hub to ZCU104. Are there any other settings I need to take care of?
Thanks in advance.