How to detect a face and extract its coordonates to use the coordinatesw
I want to detect a Face and know how far is it from the middle of the screen. I will use this to move the camera to return the face to middle of the screen
please have a look at the tutorial
Thank you for your reply. Problem is, this tutorial only detects the face, how can i know how far is the face from the middle of the screen for example
cmon, that's simple maths..
imgwidth/2 is the center of the screen, (rect.x+rect.width/2) is the center of the face
Haha are you kidding me?