I want to get the number of available cameras.
I tried to count cameras like this:
for(int device = 0; device<10; device++) { VideoCapture ca
I have also faced similar kind of issue. I solved the problem by using videoInput.h library instead of Opencv for enumerating the cameras and passed the index to Videocapture object. It solved my problem.