In my project I need to fine all parts of faces like eyes, mouth, nose, ears, cheek and head. By using CIFaceFeature
, I can get Eyes position and Mouth Position.
How to find rest of parts position?
In my project I need to fine all parts of faces like eyes, mouth, nose, ears, cheek and head. By using CIFaceFeature
, I can get Eyes position and Mouth Position.
How to find rest of parts position?
Copyright © 2021 Jogjafile Inc.
CIFaceFeature is derived from and inspired by academic research work that generally gets poured into openCV. So to go beyond CIFaceFeature, you will need to get to grips with the openCV libraries. OpenCV.org provides a C++ framework that runs on most platforms, including iOS.
In particular you will want to look at object detection, the cascade classifier and haartraining.
Judging by your comments you would like a simpler solution. I suppose that you could invent a generic 'face' type, idealised from everyone to a single example. Then calculate the relationships - from all angles?. That's as I have suggested, substantially simplifying the need for training. But is there such a thing as a Platonic face that would work acceptably well? Why don't you experiment with a few simple full-face photos and some parameters extrapolated from the eyes and mouth. Good luck...
update You really want to go with openCV... here is a nice video to explain why...