【AttributeError: ‘NoneType‘ object has no attribute ‘shape‘】
【AttributeError: 'NoneType' object has no attribute 'shape'】问题描述:解决:问题描述:使用OpenCV读取图片,报错:【AttributeError: ‘NoneType’ object has no attribute ‘shape’】解决:检查图片的读取路径问题是否路径不对?图片是否存在?或者路径表示中的 ‘ / ’ ’ \ ’ 问题,导致图片没有读进代码中。...
复制链接