Skip to content

Error when try running the code #6

@Pretip

Description

@Pretip

When i try to run the program it shows this error - line 28, in
image = cv2.resize(frame, (0, 0), None, ratio, ratio) # resize image
cv2.error: OpenCV(4.5.1) C:\Users\appveyor\AppData\Local\Temp\1\pip-req-build-wvn_it83\opencv\modules\imgproc\src\resize.cpp:4051: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

How to fix this? Pls help

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