The position of the mouth and eyes is not returned by the AVFoundation face function. However, the position of the mouths and eyes relative to the bounding box does not differ so much. For example, I found that the eyes are almost always located on:
- (0.3 * faceWidth, 0.3 * faceHeight)
- (0.7 * faceWidth, 0.3 * faceHeight)
I am sure the same is true for the mouth.
source share