cv::KNearest missing in 3.0.0, cv::ml::KNearest abstract?
Hi,
I have a perfectly working program written in c++ under Mac OS 10.9 (LLVM) with QT5 and OpenCV that i pulled some weeks ago from the development branch. It uses cv::KNearest.
I'm trying to compile this application under Windows using OpenCV 3.0.0 Alpha, QT5 latest version, Visual Studio '13 but don't succeed.
I get
cv::KNearest : Is not a member of 'cv' (?)
Looking into the <ml.hpp> class, I figured out to try to use cv::ml::KNearest instead, but now I get
C2259 cv::ml::KNearest : cannot instantiate abstract class
Can somebody help me with this? Has there been a recent change in the KNearest / ML code, ...?
Sincerely,
Wolfram
Thanks a lot for the quick reply. The method
CvKNearest::get_sample_count ( Manual : Returns the total number of train samples. C++: int CvKNearest::get_sample_count() const )
seems to be missing as well... what happend to it / how to I get the train sample count now?
Thanks again
Thanks a lot for the quick reply. The method
CvKNearest::get_sample_count ( Manual : Returns the total number of train samples. C++: int CvKNearest::get_sample_count() const )
seems to be missing as well... what happend to it / how to I get the train sample count now?
Thanks again
Thanks a lot for the quick reply. The method
CvKNearest::get_sample_count ( Manual : Returns the total number of train samples. C++: int CvKNearest::get_sample_count() const )
seems to be missing as well... what happend to it / how to I get the train sample count now?
Thanks again
Thanks a lot for the quick reply. The method
CvKNearest::get_sample_count ( Manual : Returns the total number of train samples. C++: int CvKNearest::get_sample_count() const )
seems to be missing as well... what happend to it / how to I get the train sample count now?
Thanks again