i want to train knn classifier for facial emotion recognition on the basis of SIFT features but unable to train knn classifier using:
Ptr knn(ml::KNearest::create());
error is value followed by ml:: must have namespace or class name
kindly help if someone have idea how to train and test knn in openCV c++ 3.4.9.
↧