exadel-inc / CompreFace

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

Track faces to improve recognition #960

Open atv2016 opened 1 year ago

atv2016 commented 1 year ago

This will: -Improve recognition -Lower cpu and overhead -Implement spoofing -If the tracked face goes to a place with a small recognition box, it won't have to rely on small images but can use the previously recognised face instead.

pospielov commented 1 year ago

This is a popular task, and many people ask why we don't have it in CompreFace. I believe CompreFace is not the right place to implement it. CompreFace is a generic solution for lots of facial recognition cases. Many of them don't need recognition from the video at all. But even if the cases need recognition from video, the requirements are always different. This is why I believe instead of extending CompreFace, different solutions should appear based on CompreFace for each narrow case. DoubleTake is one the good examples.

atv2016 commented 1 year ago

Hmm fair enough. But do you not agree it would improve face recognition ? If so, would it not fit within Compreface as that is it's sole task. Not criticising by the way, just thinking the above would improve recognition by quite a margin (but i might super wrong).

And you might be right, maybe a better option for 3th party addons.

pospielov commented 1 year ago

It will improve face recognition accuracy. But CompreFace is not the right place for it :)

hashimkhanzada commented 3 months ago

@atv2016 Hey, did you end up having any luck with tracking for faces? Any clue on how to start on it as I don't think there's a way to know if the person from the previous detection is the same person as now (especially if there are multiple people). Maybe something like tracking the xy axis of the bounding box and calculating if the movement was incremental and assuming it's the same person?