How to find my Camera Index? [closed]
I have interfaced my Raspberry pi running Rasbian with two cameras. The cvCaptureFromCAM( int index ) function has the parameter index which is the camera index. What value should I give in here? or how will I find my camera index?
I can't test it with raspberry but using
index=0
should open the default camera. In case you can scan for some index to find right one. For this, try my functionEnumerateCameras
here or more general here