Ask Your Question
1

is OpenCV has an API's to enumerate & listing connected Cameras , Video Formats and Resolutions ?

asked 2017-12-21 05:35:41 -0600

Ram Prasath gravatar image

Hi,

We need an API's to list out the Cameras based on their Friendly Name and an options to list out the formats and resolutions.

Is there be any API option in openCV to enumerate the list of Connected Cameras, Supporting Video Formats & Video Resolutions ? Anybody has contributed such API's in the "VideoCapture" Class in the OpenCV for the Usb Cameras in the GitHub as a contribution.

Regards, Prasath.

edit retag flag offensive close merge delete

Comments

take a look at this line. if you use windows you can change the source code and write your own function

sturkmen gravatar imagesturkmen ( 2017-12-21 07:16:13 -0600 )edit

https://github.com/opencv/opencv/blob...

(but again, absolutely non-portable)

berak gravatar imageberak ( 2017-12-21 07:44:52 -0600 )edit

will they accept if we expose api's in VideoCapture as contribution and gave merge request for windows & linux itself?

Ram Prasath gravatar imageRam Prasath ( 2017-12-22 00:15:18 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2017-12-21 06:16:45 -0600

berak gravatar image

in short: no such thing exists.

(it would also be quite some work, to achieve it across platforms)

edit flag offensive delete link more

Comments

Do you have any idea what are the various platforms we may need to work providing such API's in OpenCV VideoCapture Class ?

Ram Prasath gravatar imageRam Prasath ( 2017-12-22 00:21:48 -0600 )edit

look here like ~20 different implementations

berak gravatar imageberak ( 2017-12-22 01:26:51 -0600 )edit

Can we create an separate module as like that of VideoIO with the additional API's only for the Windows & Linux and add as a new Module in the opencv_contrib repo?

Ram Prasath gravatar imageRam Prasath ( 2018-01-18 00:43:13 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2017-12-21 05:35:41 -0600

Seen: 347 times

Last updated: Dec 21 '17