Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

detectMultiScale: Using rejectLevels and levelWeights

I have multiple classifiers and some objects look similar to others, so I would like to use rejectsLevel/levelWeight values to pick the most confident result.

How can I use the numbers provided by rejectLevels and levelWeights to "reject" results, similar to how the default detectMultiScale performs rejections?

Using detectMultiScale w/rejectLevels and levelWeights isn't documented and is not as greedy with regard to rejects. In other words, when I use detectMultiScale method with rejectLevels/levelWeights, I get back a ton of results which are normally not found.

detectMultiScale: Using rejectLevels and levelWeights

I have multiple classifiers and some objects look similar to others, so I would like to use rejectsLevel/levelWeight values to pick the most confident result.

How can I use the numbers provided by rejectLevels and levelWeights to "reject" results, similar to how the default detectMultiScale performs rejections?

Using detectMultiScale w/rejectLevels and levelWeights isn't documented and is not as greedy with regard to rejects. In other words, when I use detectMultiScale method with rejectLevels/levelWeights, I get back a ton of results which are normally not found.

Update: After digging into the code, these values aren't usable for the objective described above. The current implementation groups pass and fail rectangles and the most pertinent class methods and members are protected and/or private.