Skip to content
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

Error when try running the code #6

Open
Pretip opened this issue Feb 25, 2021 · 0 comments
Open

Error when try running the code #6

Pretip opened this issue Feb 25, 2021 · 0 comments

Comments

@Pretip
Copy link

Pretip commented Feb 25, 2021

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

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