Skip to content

运行main.py出错,求解释一下 #7

@WanQianSucceed

Description

@WanQianSucceed

OpenCV Error: Assertion failed (size.width>0 && size.height>0) in cv::imshow, file ......\modules\highgui\src\window.cpp, line 281
Traceback (most recent call last):
File "E:/FirefoxDownload/answer-sheet-scan-master/main.py", line 8, in
cv2.imshow("img", frame)
cv2.error: ......\modules\highgui\src\window.cpp:281: error: (-215) 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