OpenCV报错 : AttributeError: module ‘cv2‘ has no attribute ‘destoryAllWindows‘

Traceback (most recent call last):
  File "test.py", line 75, in 
    cv2.destoryAllWindows()
AttributeError: module 'cv2' has no attribute 'destoryAllWindows'

解决:单词拼写错误

         ---->  cv2.destroyAllWindows()

         ---->  destroy  不是 destory

你可能感兴趣的:(CV-问题集锦,python,opencv)