Ask Your Question

Revision history [back]

OpenCV KNearest input

What is the exact meaning of the first parameter that takes the KNearest class in

OpenCV, CvMat* trainData?

Do I have to pass a CvMat* with the location of the centroids of the classes, or another info?