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
相关文章
相关标签/搜索