Ask Your Question
0

capture = cvCreateCameraCapture( -1 );

asked 2012-11-10 11:21:33 -0500

Hodali gravatar image

updated 2019-01-02 14:06:25 -0500

I have two cameras conected to my window PC. Usually we detect a camera by using cvCreateCameraCapture( -1 ). How can we retrieve the number of the cameras and select a specific camaera?

edit retag flag offensive close merge delete

Comments

1 answer

Sort by ยป oldest newest most voted
0

answered 2012-11-10 15:19:40 -0500

Victor1234 gravatar image

In Linux you can parse /dev/video* file names.

edit flag offensive delete link more

Comments

I am using Windows 7

Hodali gravatar imageHodali ( 2012-11-10 17:34:47 -0500 )edit
Login/Signup to Answer

Question Tools

Stats

Asked: 2012-11-10 11:21:33 -0500

Seen: 3,717 times

Last updated: Nov 10 '12