TadasBaltrusaitis / OpenFace

OpenFace – a state-of-the art tool intended for facial landmark detection, head pose estimation, facial action unit recognition, and eye-gaze estimation.
Other
6.94k stars 1.85k forks source link

Trying to find a better way to save and sort through faces #711

Open jhjjj12 opened 5 years ago

jhjjj12 commented 5 years ago

I know that you can save pictures of faces then sort through them and compare to find a match but I feel as if there should be a better way to go about this (when working with a large number of faces using an image for each face for reference will take up an unnecessary amount of space). Is there a way to just see and save the coordinates that are given off for each face as a reference instead? I hope this makes sense.

TadasBaltrusaitis commented 5 years ago

Sorry, I'm not really sure I understand the questions.

What do you mean by sorting the faces or pictures of faces? What is the goal you are trying to achieve?

jhjjj12 commented 5 years ago

Im trying to make a somewhat large database of faces and I want to take up the least amount of space in my database while being able to sort and compare each face as fast as possible (using mergesort or timsort). I want to know if there's a way I can extract a reference for each face and represent that face as its own unique number/numbers (these are the landmark coordinates I believe but im not sure?) instead of saving a picture for each face as a reference.

TadasBaltrusaitis commented 5 years ago

It is indeed possible to build a reference (or representation) for a face, however, for that I would use a face recognition method that can create a low dimensionality embedding of the face. I would recommend you look at another project to help with this task (confusingly also called OpenFace) - https://cmusatyalab.github.io/openface/