exadel-inc / CompreFace

Leading free and open-source face recognition system
https://exadel.com/accelerator-showcase/compreface/
Apache License 2.0
5.7k stars 775 forks source link

Face Shape Detection #1020

Open rbp15 opened 1 year ago

rbp15 commented 1 year ago

Didn't see a place to ask a question - so using this issue type.

Can this solution detect a person's face shape?

Square, Triangle, Oval, Heart, etc.?

pospielov commented 1 year ago

Hi, unfortunately, no. Do you know any examples of applications that may need it?

rbp15 commented 1 year ago

Thank you for replying!

The situation is where I would use the solution for eyeglasses try on.
Some eyeglass providers have face detection worked into there "try-on" solution where the face shape is detected and then glasses frames that go with that shape are recommended.

Example about glasses and face shape: https://www.zennioptical.com/glasses-for-face-shape https://www.foreyes.com/media/blog/face-shapes.png https://www.clearly.ca/thelook/glasses-for-face-shape/

rbp15 commented 1 year ago

@pospielov Thoughts? I see you're on AWS Marketplace, that would be a great add there. Rekognition can't do it right now.

pospielov commented 1 year ago

Looks interesting. I'll add a story for this. But now sure if this is an easy task. The main problem is that it should be ready to use a neural network model that we can integrate into CompreFace. I hope we will be able to find it.

rbp15 commented 1 year ago

I was looking into:

Also thank you!

pospielov commented 1 year ago

In all of those links, they just find face landmarks. And this is what we already have in CompreFace. Furthermore, I don't think landmarks can help with defining face shape, because the algorithm assumes every face has the same shape when it finds the landmarks.