How to search a database record, starting from identifying a person's face?

Hello everybody,

I have been asked to identify faces of people to perform searches in a database.

I have thought of using MediaPipe Face Mesh to obtain the reference points. With these reference points use a “hash” as a unique identifier.

I’m not sure if this is the way to proceed or if there is an alternative that is more optimal.

If anyone already faced the same thing that can direct me I would appreciate it.



In case anyone ran into the same problem as me, I found something that has been useful to me. I leave here the link