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,
I do not know other solutions
Thank you LBerger.