# How to identify if 2 faces contain the same person?

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.