cv2.imshow command doesn't work properly in opencv-python

前端 未结 16 1671
轻奢々
轻奢々 2020-12-04 17:31

I\'m using opencv 2.4.2, python 2.7 The following simple code created a window of the correct name, but its content is just blank and doesn\'t show the image:



        
16条回答
  •  爱一瞬间的悲伤
    2020-12-04 17:37

    I had the same 215 error, which I was able to overcome by giving the full path to the image, as in, C:\Folder1\Folder2\filename.ext

提交回复
热议问题