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 Running preprocess_may.sh: Empty Image in 'imwrite' Function #14

Open
aomenfage opened this issue Apr 14, 2024 · 0 comments
Open

Comments

@aomenfage
Copy link

Hello,

I encountered an error while running the preprocess_may.sh script from this repository. The script failed with the following error message:

../dataset/may/images/06073.jpg
OpenCV(4.4.0) /tmp/pip-req-build-19zx5q4j/opencv/modules/imgcodecs/src/loadsave.cpp:738: error: (-215:Assertion failed) !_img.empty() in function 'imwrite'

This suggests that the image being processed is empty or corrupted in the crop_face.py file, leading to failure in the imwrite function of OpenCV.
Could you please help in diagnosing the problem? Any suggestions on how to handle or debug this error would be greatly appreciated.

Thank you!

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

1 participant