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

(-215:Assertion failed) !ssize.empty() in function 'cv::resize' #1

Closed
majed330 opened this issue Feb 28, 2019 · 1 comment
Closed

Comments

@majed330
Copy link

error in trying running the wiki_image.py file. In the step of processing all the images and merge them with the meta, the code goes running for the first 5 Batches and throw an error.
here is the trace for the error

error Traceback (most recent call last)
in ()
37 img = cv2.imread(path, 1)
38
---> 39 img = cv2.resize(img, (150,150))
40
41 img = img.flatten()

error: OpenCV(3.4.3) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4044: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

@imdeepmind
Copy link
Owner

I have updated the project. Please have a look at the project now.

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

2 participants