Enumerate all available usb/uvc camera resolutions

Hi, dear guru! I am struggling with a question how to get all available resolutions from usb video camera device in windows 10. I am using OpenCV 4.6 and i can’ t find a solution for this task. Please help me to find a function or a 3rd party lib that helps to get that information from camera device using c++ code. Thank you very much

wrong library. OpenCV is for computer vision. video I/O is not its purpose. it offers simple APIs for that, for prototyping of computer vision.

you should use operating system APIs (dshow, msmf), or ffmpeg (it’s also a library).

1 Like

Thank you very much for reply