Error occurred while running code

error: OpenCV(4.4.0) C:\Users\appveyor\AppData\Local\Temp\1\pip-req-build-2b5g8ysb\opencv\modules\imgproc\src\resize.cpp:3929: error: (-215:Assertion failed) !ssize.empty() in function ‘cv::resize’

hey @god_siddy ,
welcome to the Coding Blocks Community.

Your error says that , the image that you want to read is not being read.
May be wrong path , or wrong file name.

Just check that, and this error will be resolved.