Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

doesnt work on windows #4

Open
Open
@SNEHASISHROY-125

Description

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'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /