-
Notifications
You must be signed in to change notification settings - Fork 893
USB Webcam does not work in the newer version: 4.7.0.72 #834
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
could you run the same code with old and new OpenCV versions with debug options and collect logs. To enable debug logging you need to set the following environment variables |
I'm also getting this error with the USB webcam. Does anyone have a solution regarding this? |
Please try the previous recommendation to give us information for debugging. |
1 similar comment
Please try the previous recommendation to give us information for debugging. |
Hi! I can confirm the same problem with 4.8.x version using usb cam. Had to downgrade to 4.5 to get it working, as mentioned by the author. |
@Maculapse could you run the same code with old and new OpenCV versions with debug options and collect logs. To enable debug logging you need to set the following environment variables OPENCV_LOG_LEVEL=DEBUG, OPENCV_VIDEOIO_DEBUG=1 |
我也是4.8版本也遇到这个问题,自己的电脑上没问题,在客户的电脑上死活不行 |
@asmorkalov i have the same issue. this is the output with debug env var:
|
USB Webcam does not work in the newer version: 4.7.0.72
I wrote a simple script to read frames from a webcam, it works fine with laptop-attached webcams. When I try to use with the USB-based webcam (not-branded webcam), it returns the following error.
[ WARN:1@2.601] global cap_msmf.cpp:1759 CvCapture_MSMF::grabFrame videoio(MSMF): can't grab frame. Error: -2147024809
My Code:
When I install the older version of OpenCV-python: 4.5.5.62, it works fine, I think the issue is with the newer release.
Please take a consideration on it.
The text was updated successfully, but these errors were encountered: