Ask Your Question

Opencv-Python get all the camera resolutions

asked 2017-05-10 04:55:28 -0500

fedexav gravatar image

Hello, I'd like to know if OPENCV has some method to retrieve all the camera resolutions, contrasts etc. I googled it but unfortunately I didnt find anything worth. I am using a Logitech external USB camera and even a method to retrieve the minimum and maximum values of these parameters would be great. Thank you in advance.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2017-05-10 05:01:31 -0500

berak gravatar image

no, unfortunately there is no such thing in opencv.

all you can do is try to set() the resp. property for a variety of resolutions, and retrieve the resulting resolution.

edit flag offensive delete link more


thank you for helping! :)

fedexav gravatar imagefedexav ( 2017-05-10 05:08:41 -0500 )edit
Login/Signup to Answer

Question Tools

1 follower


Asked: 2017-05-10 04:55:28 -0500

Seen: 930 times

Last updated: May 10 '17