Ahuman
Ahuman

Reputation: 762

Looking to identify face types using Google ML kit

I am looking to find out a persons face type like square or oval or round using Google ML. I know I need to measure the length and width of the face in different angles to determine the face type. But, the api hasn’t been giving me that. Any inputs here would be highly appreciated.

Upvotes: 0

Views: 650

Answers (1)

Julie Zhou
Julie Zhou

Reputation: 126

The ML Kit Face Detection has a contour mode where points on the contour are returned: https://developers.google.com/ml-kit/vision/face-detection/ios#example-of-face-contours

You can use these information to determine its shape flexibly, depends on how you define square or oval or round. Or you can go further to use a downstream model to take the input from ML Kit Face Detection contour, and output a shape enum.

Upvotes: 0

Related Questions