cv2.error: /io/opencv/modules/imgproc/src/imgwarp.cpp:3483: error: (-215) ssize.width > 0 && ssize.height > 0 in function resize

asked 2018-12-10 04:48:32 -0500

updated 2020-10-14 12:52:56 -0500

This is question, I want answer

edit retag flag offensive close merge delete

Comments

1

Answer is in your question width and height must be > 0

LBerger gravatar imageLBerger ( 2018-12-10 04:59:35 -0500 )edit

this question must have been answered 5000 times before, here or on SO -- it's always the same:

python noob too silly to check if actual input is **valid**, then receiving a weird error in the next line.
berak gravatar imageberak ( 2018-12-11 12:03:51 -0500 )edit

@Ganesh, -- basically it is murphy's law

(and the downvote is for: you have no clue, what you're doing, and blindlycopypasting code from the internet won't get you anywhere)

berak gravatar imageberak ( 2018-12-11 12:10:12 -0500 )edit