Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

HaarTraining: Find detected object with higest score

Need to detect only the object (single instance) with maximum score/confidence using HaarTraining. I have obtained a cascade classifier for my object ( using 1000 Positives, 21000 Negatives) and tried to use it with opencv facedetect example in C++. It is detecting my object whenever present but in addition, there are atleast 10 more objects detected (false detection). Is it possible to find out the object with highest score/confidence in the list returned by CascadeClassifier.detectMultiScale(). Is it somehow obtained using rejectLevels & levelWeights? I can't find any documentation related to this.

I have already tried it successfully with latent svm. It returns the score along the detection list as well but it takes lot of time in processing the frame.

HaarTraining: Find detected object with higest highest score

Need to detect only the object (single instance) with maximum score/confidence using HaarTraining. I have obtained a cascade classifier for my object ( using 1000 Positives, 21000 Negatives) and tried to use it with opencv facedetect example in C++. It is detecting my object whenever present but in addition, there are atleast 10 more objects detected (false detection). Is it possible to find out the object with highest score/confidence in the list returned by CascadeClassifier.detectMultiScale(). Is it somehow obtained using rejectLevels & levelWeights? I can't find any documentation related to this.

I have already tried it successfully with latent svm. It returns the score along the detection list as well but it takes lot of time in processing the frame.