surya-veer / movement-tracking

UP - DOWN - LEFT - RIGHT movement tracking.
368 stars 101 forks source link

Features #7

Closed shruthi-22 closed 4 years ago

shruthi-22 commented 4 years ago

can you say what does detectmultiscale return ?

How is nose detected ?

surya-veer commented 4 years ago

Hi @shruthi-22, detectmultiscale returns the list of the detected object as a rectangle. read this for more

So I am doing as an estimation to detect nose, since the face is symmetric and the nose lies on the centre of eyebrow line and chin. Now assume face boundary = (x1,y1) and (x2, y2) nose coordinates will ((x1+x2)/2, (y1+y2)/2)