TypeError: Expected Ptr for argument 'samples' in cv2.ml.KNearest_create().train()

前端 未结 0 1480
长发绾君心
长发绾君心 2020-12-31 00:21

I\'m trying to implement a knn image classifier to classify tobacco and canon images.

def train_knn_model(tobacco_data_list, canon_data_list):
    label = np.         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题