Opencv-3.2-dev
VC 2015 windows 10
Hi,
In example https://github.com/opencv/opencv/blob/master/samples/cpp/points_classifier.cpp i ahve insert line after line :
knn->setAlgorithmType(KNearest::KDTREE);
then I have got an assertion :
OpenCV Error: Assertion failed (std::abs(more - less) <= 1) in cv::ml::medianPartition, file G:\Lib\opencv\modules\ml\src\kdtree.cpp, line 134
I think it is same issue in #4886
Opencv-3.2-dev
VC 2015 windows 10
Hi,
In example https://github.com/opencv/opencv/blob/master/samples/cpp/points_classifier.cpp i ahve insert line after line :
knn->setAlgorithmType(KNearest::KDTREE);
then I have got an assertion :
I think it is same issue in #4886