成功解決AttributeError: 'NoneType' object has no attribute '__array_interface__'

成功解決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__”

 

 

 

 

解決方法

更新……

 

 

 

 

 

 

 

 

 

 

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章