_descriptors.empty() in function ‘cv::BOWTrainer::add‘
今天对python使用svm过程中出现的问题进行一下记录先将代码插入进来importcv2importnumpyasnpfromos.pathimportjoindatapath=r"D:/BaiduNetdiskDownload/opencv/CarData/TrainImages"defpath(cls,i):return"%s/%s%d.pgm"%(datapath,cls,i+1)pos,