(-215:Assertion failed) size.width>0 && size.height>0 in function 'imshow' code example
Example: (-215:Assertion failed) size.width>0 && size.height>0 in function 'imshow' in pycharm
add../ before ur img path if the image and file in same folder...so instead of using imread("img.jpg") use imread("../img.jpg")