Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

showing only the face with highest confidence #15

Open
monajalal opened this issue Aug 22, 2023 · 3 comments
Open

showing only the face with highest confidence #15

monajalal opened this issue Aug 22, 2023 · 3 comments

Comments

@monajalal
Copy link

Hi Andrés
Thanks a lot for the great repository. I have a mp4 video and some frames it shows two predicted face while there is only one face. When I am getting inference using your ipynb for video, is there a way I could force it to show only faces with probably of detection higher than 90%?

@H1ppx
Copy link

H1ppx commented Feb 22, 2024

@monajalal I did some digging because I need something similar, the retinaface implementation does not seem to have any use of confidence at least in terms of the demo ./spiga/demo/analyze/track/retinasort/face_tracker.py. The import is from this repo so you can probably use some sort of modification to process_frame() in face_tracker.py to incorporate it

@parsapahlavan
Copy link

@monajalal This might be a bit late, but any other people facing the same question can try changing the 'config.py' file located at 'spiga/demo/analyze/track/retinasort'.

There are 'score_thr' attributes for the tracker you want to use.

@emlcpfx
Copy link

emlcpfx commented Sep 14, 2024

Is there a way to point it to the face you want? For example, if I used face recognition, how would I use that bbox or x,y coord to tell SPIGA which face I want?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants