opencv-attribute error: ‘nonetype‘ object has no attribute ‘__array_interface

File “/root/miniconda3/envs/tf1.14.0/lib/python3.7/site-packages/PIL/Image.py”, line 3069, in fromarray
arr = obj.array_interface
attributeerror: ‘nonetype’ object has no attribute '__array_interface
这种错误可能是图片名没有正确输入,找不到这张照片,所以报错

你可能感兴趣的:(python,开发语言,opencv)