-
-
Notifications
You must be signed in to change notification settings - Fork 56.5k
Closed
Description
System information (version)
- OpenCV => 4.3
- Operating System / Platform => Windows
- Compiler => ❔
Detailed description
I am trying to open my Logitech HD Pro C910 USB webcam using OpenCV 4.3 in my Java app. If I use CAP_MSMF (or CAP_ANY), it takes several minutes for the camera to open up, delaying my application start time. CAP_DSHOW does not exhibit this behavior. The Python OpenCV bindings is also experiencing slow open times with CAP_MSMF.
I want to use MSMF for the GPU acceleration, but I can't use it with these startup times. Is there a way around this issue?
This issue does not show up when running my code on my Surface Pro 7 with its integrated webcam.
Steps to reproduce
Just call VideoCapture.open(0, CAP_MSMF) using certain webcams.
Issue submission checklist
- I report the issue, it's not a question
- I checked the problem with documentation, FAQ, open issues,
answers.opencv.org, Stack Overflow, etc and have not found solution - I updated to latest OpenCV version and the issue is still there
- There is reproducer code and related data files: videos, images, onnx, etc
Reactions are currently unavailable