2
$\begingroup$

I have got numerous frames and I've detected all the faces in all the frames using Retinaface. However I need to track the faces of people over frames.

For this purpose, I assumed I could try finding the landmarks from the face using libraries like dlib and maybe compare these landmarks to check if they are infact the face of the same person.

I would like to know if there are other methods or some useful resources I could refer for the same. Thanks a lot in advance.

$\endgroup$
2
$\begingroup$

The topic of your problem is person re-identification. You can check here.

| improve this answer | |
$\endgroup$
  • $\begingroup$ Thanks man, will look into it. $\endgroup$ – Suraj Subramanian Sep 7 at 9:08
1
$\begingroup$

You can try using something called as a Siamese network if you are willing to train the network on your own using something called as triplet loss(if you have lots of face images).

Another approach would we something called a one-shot using FaceNet(transfer learning approach) FaceNet uses deep convolutional neural network (CNN). The network is trained such that the squared L2 distance between the embeddings correspond to face similarity. The images used for training are scaled, transformed and are tightly cropped around the face area.

Another important aspect of FaceNet is its loss function . It is already trained using triplet loss function.In this case you could just feed to face images and you would get a thershold score for the similarities.

| improve this answer | |
$\endgroup$
  • $\begingroup$ Thanks a lot man, will definitely try this out. $\endgroup$ – Suraj Subramanian Sep 7 at 20:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.