Error in open cv program

the open cv is installed correctly but therre is a error in it
OpenCV(4.0.0) C:\projects\opencv-python\opencv\modules\highgui\src\window.cpp:350: error: (-215:Assertion failed) size.width>0 && size.height>0 in function ‘cv::imshow’

I’m not sure about your laptop configuration. But this link might help

Hey Aastha,
As you are not responding to this thread, I am marking your doubt as Resolved for now. Re-open it if required.

Please mark your doubts as resolved in your course’s “ Ask Doubt ” section, when your doubt is resolved.