aaronabentheuer / AAFaceDetection

Prototyping-Library providing easy access to iOS face detection features through NSNotification.
511 stars 53 forks source link

Face Bounds, Eye Position, Mouth Position are wrong. #8

Open praveenb-ios opened 7 years ago

praveenb-ios commented 7 years ago

Hi Aaron, Please check the face bounds which i got (322.5, 97.5, 497.5, 497.5)

this is what I'm getting on all the devices. Try to check all the bounds and let me know how to calculate the positions, it will be helpful to integrate your control with our code.

Thanks.

pompanonb commented 7 years ago

position x and position y seem to be switch. I fixe an image on my eye with the following code.

self.leftEye.frame = CGRectMake(self.view.frame.width - self.visage!.leftEyePosition!.y / 2 - 20 , self.visage!.leftEyePosition!.x / 2 - 20, 40, 40)