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

Single Face Detection Issue with the Facetorch Library #79

Open
seymatakir28 opened this issue Oct 17, 2024 · 1 comment
Open

Single Face Detection Issue with the Facetorch Library #79

seymatakir28 opened this issue Oct 17, 2024 · 1 comment

Comments

@seymatakir28
Copy link

I have images with a single detected face (the frame contains only one face and nothing else), but the facetorch library detects 3 or 4 faces in the image. How can I make it detect only one face?

@tomas-gajarsky
Copy link
Owner

Thank you for your query! To assist you better, could you share:

  1. The input image.
  2. The configuration file or key parameters used (e.g., confidence_threshold, nms_threshold, score_threshold).

Meanwhile, you might try:

  • Adjusting Detector Configuration: For example, increasing confidence_threshold or tweaking expand_box_ratio in the RetinaFace postprocessor could improve results.
  • Using Predictor on Cropped Faces: If analyzing already cropped faces, bypassing the detector might yield better accuracy.

Let me know if you need further guidance or clarification!

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

2 participants