Swati
Swati

Reputation: 1463

Face Type Detection

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!

Upvotes: 5

Views: 1148

Answers (1)

Kenyakorn Ketsombut
Kenyakorn Ketsombut

Reputation: 2122

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).

Upvotes: 1

Related Questions