Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

opencv_traincascade detection phase: obtain confidence of each detection window

Has anyone created a recall precision curve for traincascade? I am thinking of doing this at the detection stage:

Looking at the docs, opencv provides this method:

Python: cv2.CascadeClassifier.detectMultiScale(image,rejectLevels, levelWeights[,scaleFactor[, minNeighbors[, flags[,minSize[, maxSize[,outputRejectLevels]]]]]]) → objects

My questions are:

  • What 'objects' are being returned by this method?
  • Assuming rejectLevels refers to the confidence level for each detection window, why do I need to pass it in as a parameter?
  • What do I need to pass in for rejectLevels and levelWeights?
  • What is outputRejectLevels? Is it related to how certain the cascade should be to accept a detection?
click to hide/show revision 2
No.2 Revision

updated 2015-07-16 06:35:28 -0600

berak gravatar image

opencv_traincascade detection phase: obtain confidence of each detection window

Has anyone created a recall precision curve for traincascade? I am thinking of doing this at the detection stage:

Looking at the docs, opencv provides this method:

Python: cv2.CascadeClassifier.detectMultiScale(image,rejectLevels, levelWeights[,scaleFactor[, minNeighbors[, flags[,minSize[, maxSize[,outputRejectLevels]]]]]]) → objects

My questions are:

  • What 'objects' are being returned by this method?
  • Assuming rejectLevels refers to the confidence level for each detection window, why do I need to pass it in as a parameter?
  • What do I need to pass in for rejectLevels and levelWeights?
  • What is outputRejectLevels? Is it related to how certain the cascade should be to accept a detection?