1

I trained a cascade classifier for ball detection using opencv4. I want to obtain the confidence of the classifier for detected balls. I understood from tutorial if I use detectmultiscale3, I have access to levelweight which is the confidence of the model. So, when I want to detect balls in images using detectmultiscale3, I noticed that some of these extracted rectangulars have negative levelweight! What does it mean? I can interpret the positive values for confidence, but I can not find any explanation for negative values.

 detected_objects, rejectLevels, levelWeights  = cascade_classifier.detectMultiScale3(original_image, scaleFactor=1.03, minNeighbors=20, minSize=(25,25), maxSize=(60, 60)
         
Elnaz Yousefi
  • 195
  • 1
  • 3
  • 17

0 Answers0