Ask Your Question

pmdev's profile - activity

2015-01-19 17:16:33 -0600 received badge  Editor (source)
2015-01-18 17:08:20 -0600 commented answer How to use KNearest and ANN in OpenCV 3.0

need a help with this Param. Please show me how to use this Param in create func.

2015-01-18 15:48:17 -0600 received badge  Supporter (source)
2015-01-18 15:33:52 -0600 commented answer How to use KNearest and ANN in OpenCV 3.0

can you show me, how it should look like on example?

2015-01-18 15:13:38 -0600 commented answer cv::KNearest missing in 3.0.0, cv::ml::KNearest abstract?

I've done like you, but I've got still errors in create line. What should be the parameter of create function?

2015-01-18 15:13:38 -0600 commented answer How to use KNearest and ANN in OpenCV 3.0

in my program, code above doesn't work. i need parameter in create func. Can you help?

2015-01-18 15:13:37 -0600 answered a question How to use KNearest and ANN in OpenCV 3.0

in my program, code above doesn't work. i need parameter in create func. Can you help?

2015-01-18 15:13:37 -0600 answered a question How to use KNearest and ANN in OpenCV 3.0

I am trying to create empty KNearest like berak, but I still have an error! What is the parametr of func KNearest::creat?

I've found solution like below, but it still doesn't compile

Ptr<KNearest> knearestKdt = KNearest::create(ml::KNearest::Params(10, true, INT_MAX, ml::KNearest::KDTREE));
knearestKdt->train(trainData, ml::ROW_SAMPLE, trainLabels);
knearestKdt->findNearest(testData, 4, bestLabels);
2015-01-18 15:08:19 -0600 received badge  Critic (source)