Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

OpenCV 4.0 count cameras number

Dear all,

I would like to set a code to count the number of active cameras detected by OpenCV-4.0.

To achieve my goal, I used a for loop, because I didn't found how to do it by another way. Apparently, it is no part of the API.

Does it exist another way to detect all the active cameras ?

Thank you for your help and support.

Regards,