成功解決AttributeError: 'NoneType' object has no attribute '__array_interface__'
目錄
解決問題
File "F:\File_Python\Python_daydayup\1907DL\keras-yolo3\yolo.py", line 192, in detect_video
image = Image.fromarray(frame)
File "F:\Program Files\Python\Python36\Lib\site-packages\PIL\Image.py", line 2421, in fromarray
arr = obj.__array_interface__
AttributeError: 'NoneType' object has no attribute '__array_interface__'
解決思路
屬性錯誤:“NoneType”對象沒有屬性“_array_interface__”
解決方法
更新……