OpenCV Python not opening images with imread()

后端 未结 6 475
长发绾君心
长发绾君心 2020-12-17 00:14

I\'m not entirely sure why this is happening but I am in the process of making a program and I am having tons of issues trying to get opencv to open images using imread. I k

6条回答
  •  自闭症患者
    2020-12-17 00:55

    When you get error like this AttributeError: 'NoneType' object has no attribute 'shape'

    Try with new_image=image.copy

提交回复
热议问题