Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How to get camera id for VideoCapture?

From the specification page of "VideoCapture" , we know there is one constuctor "VideoCapture (int index);", and "index" here is the camera id which is provided by operating systems. In my computer, there are several cameros, so, how to get their id-s for feeding VideoCapture?