Upon building on an updated Mac with the given build string, I get the following traceback.
opencv_knn.cpp:32:15: error: expected ';' after expression
cv::KNearest knn(trainingSet, labels);
^
;
opencv_knn.cpp:32:7: error: no member named 'KNearest' in namespace 'cv'
cv::KNearest knn(trainingSet, labels);
~~~~^
opencv_knn.cpp:32:16: error: use of undeclared identifier 'knn'
cv::KNearest knn(trainingSet, labels);
^
opencv_knn.cpp:50:5: error: use of undeclared identifier 'knn'
knn.find_nearest(vec, k, label);
According to https://stackoverflow.com/questions/9155109/expected-after-expression, it seems this is a visual basic studios problem, meaning an error that's ignored in visual studios, but I don't know how to fix it. Any suggestions?
Upon building on an updated Mac with the given build string, I get the following traceback.
According to
https://stackoverflow.com/questions/9155109/expected-after-expression, it seems this is a visual basic studios problem, meaning an error that's ignored in visual studios, but I don't know how to fix it. Any suggestions?