How to connect to other camera in OpenCV

125 Views Asked by At

From the tutorial I am able to access the default camera of my laptop by

cv::VideoCapture(0);

But I have another camera connected, and it has it's own device category in the device manager so it is not "1".enter image description here

I read documents, it seams like

cv::VideoCapture();

is able to take camera ID, filename, or even url as the camera input, but didn't specify how do you find camera like I posted above...

Thanks so much for answering!

0

There are 0 best solutions below