Skip to content
This repository has been archived by the owner on Jul 14, 2020. It is now read-only.

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

Open
praveenb-ios opened this issue Aug 4, 2016 · 1 comment
Open

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

praveenb-ios opened this issue Aug 4, 2016 · 1 comment

Comments

@praveenb-ios
Copy link

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
Copy link

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)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants