Skip to content

doesnt work on windows #4

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

Open
SNEHASISHROY-125 opened this issue Jan 24, 2024 · 1 comment
Open

doesnt work on windows #4

SNEHASISHROY-125 opened this issue Jan 24, 2024 · 1 comment

Comments

@SNEHASISHROY-125
Copy link

Describe the bug
when I run python3 webcam-capture-v1.01.py .

ERROR:

PS C:\Users\Snehasish> & C:/Python311/python.exe c:/Users/Snehasish/Documents/capt/for-windows-users/webcam-capture-v1.0.1-windows.py
[ERROR:0@0.307] global obsensor_uvc_stream_channel.cpp:159 cv::obsensor::getStreamChannelGroup Camera index out of range
False
None
Traceback (most recent call last):
File "c:\Users\Snehasish\Documents\capt\for-windows-users\webcam-capture-v1.0.1-windows.py", line 12, in
cv2.imshow("Capturing", frame)
cv2.error: OpenCV(4.9.0) D:\a\opencv-python\opencv-python\opencv\modules\highgui\src\window.cpp:971: error: (-215:Assertion failed) size.width>0 && size.height>0 in function 'cv::imshow'

@knkumar93
Copy link

@SNEHASISHROY-125 , verify if any issue with your camera driver. It works for me in Windows 10.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants