We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
OpenCV Error: Assertion failed (ssize.area() > 0) in resize, file /home/travis/miniconda/conda-bld/conda_1486587069159/work/opencv-3.1.0/modules/imgproc/src/imgwarp.cpp, line 3229 Traceback (most recent call last): File "/home/wanlu/PycharmProjects/untitled1/set_other_faces.py", line 46, in face = cv2.resize(face, (size, size)) cv2.error: /home/travis/miniconda/conda-bld/conda_1486587069159/work/opencv-3.1.0/modules/imgproc/src/imgwarp.cpp:3229: error: (-215) ssize.area() > 0 in function resize
请问您遇到过这种情况吗?网上说是图像文件为空,但是我设置了判断也无济于事,期待您的回复!
The text was updated successfully, but these errors were encountered:
这个问题没遇到过,看一下生成的图片是否有出错了,打印一下,看一下是哪一张图片出错了,剔除错误的图片。
Sorry, something went wrong.
No branches or pull requests
OpenCV Error: Assertion failed (ssize.area() > 0) in resize, file /home/travis/miniconda/conda-bld/conda_1486587069159/work/opencv-3.1.0/modules/imgproc/src/imgwarp.cpp, line 3229
Traceback (most recent call last):
File "/home/wanlu/PycharmProjects/untitled1/set_other_faces.py", line 46, in
face = cv2.resize(face, (size, size))
cv2.error: /home/travis/miniconda/conda-bld/conda_1486587069159/work/opencv-3.1.0/modules/imgproc/src/imgwarp.cpp:3229: error: (-215) ssize.area() > 0 in function resize
请问您遇到过这种情况吗?网上说是图像文件为空,但是我设置了判断也无济于事,期待您的回复!
The text was updated successfully, but these errors were encountered: