OpenCV detectMultiScale() neighbours algorithm

asked 2015-06-28 06:17:47 -0600

warmspringwinds gravatar image

Hello.

I was wondering where I can read about how the neighbours algorithm works in OpenCV. The minNeighbors parameter controls the work of the algorithm.

I just want to implement the same algorithm for my face detection implementation.

Thank you.

edit retag flag offensive close merge delete

Comments

good luck ;)

(and start with reading the paper )

berak gravatar imageberak ( 2015-06-28 06:23:56 -0600 )edit

@berak thank you. I already did the most part of it. The only thing that is written in the paper is that they treat the joint regions and make them into one average. Do you know where I can find the best algorithm in this case to find joint regions?

warmspringwinds gravatar imagewarmspringwinds ( 2015-06-28 07:08:21 -0600 )edit
1

It is actually quite easy. It is a basic non maxima suppression implementation. For any given two detections, check if the overlapping area is larger than a preset value, which is standard set at 50% afaik. In that case, merge the two detections together.

StevenPuttemans gravatar imageStevenPuttemans ( 2015-06-29 07:03:15 -0600 )edit