Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

OpenCv3 AdaBoost RAW_OUTPUT

I am using openCV and adaBoost to detect people in laser range data. To get the label of a samples the the following function is used:

   cv::ml::StatModel::predict (sample, noArray(), 0)

I also tried to obtain the raw output of the classifier by using:

   cv::ml::StatModel::predict (sample, noArray(), cv::ml::StatModel:: RAW_OUTPUT)

The results of both calls are always equal, thus also the second function which should return the raw output is returning the label.

Is there any other way to get the raw output or am I doing something wrong ?