Ask Your Question
1

Camera Count using OpenCV 2.4

asked 2012-08-29 06:21:31 -0600

Gaurang gravatar image

Hey,

Please let me know how to code Camera Device Count using OpenCV 2.4.2 I want to count the camera & display with there name.

Please let me know? Thanks

Gaurang

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2012-08-29 09:30:02 -0600

AlexanderShishkov gravatar image

OpenCV still has no API to enumerate the cameras or get the number of available devices. See this ticket on OpenCV bug tracker for details.

edit flag offensive delete link more
0

answered 2012-08-29 08:13:10 -0600

sammy gravatar image

updated 2012-08-29 08:13:45 -0600

OpenCV dropped the cvCountCameras() long time ago. It seems that multiple camera input is not the greatest point of the OpenCV lib. After all, it's a computer vision library, not a camera input library.

It seems that this lib http://www.muonics.net/school/spring05/videoInput/ (for windows) is preferred among computer enthusiasts as a video input layer. Give it a try.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2012-08-29 06:21:31 -0600

Seen: 5,064 times

Last updated: Aug 29 '12