I have to detect the face type - oval, rectangular, diamond, hear shape in my application. I have done the face detection using open CV and coreimage framework, but it does not tell the type of the face.
what I actually need to do is detect the type of the face and show a celebrity face having the same type of face shape displaying your face matches with her/him.
Any help would be great.
Thanks in Advance!
You have to train a face recognizer for your four classes: oval, rectangular, diamond, heart shape. Therefore you will have to find examples of many different people with that face shape. Give each of your classes a label and train a normal FaceRecognizer with that.
If you want to get an idea about the actual steps check out the gender classification with OpenCV, and do exactly the same. In gender classification it is done for 2 classes (male / female). You have to do it for 4 classes (4 different shape types).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With