Python3 AttributeError: 'cv2.ml_KNearest' object has no attribute 'find_nearest'

問題:在用python3使用knn.find_nearest(newcomer, 3)的時候,可能會產生錯誤:AttributeError: 'cv2.ml_KNearest' object has no attribute 'find_nearest'python ret, results, neighbours, dist = knn.find_nearest(newcomer, 3) pri
相關文章
相關標籤/搜索