cv2.error: /io/opencv/modules/imgproc/src/imgwarp.cpp:3483: error: (-215) ssize.width > 0 && ssize.height > 0 in function resize
This is question, I want answer
Answer is in your question width and height must be > 0
this question must have been answered 5000 times before, here or on SO -- it's always the same:
@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)