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

Skip images where no faces are detected, instead of directly raising an Exception. #539

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mymusise
Copy link

@mymusise mymusise commented May 7, 2024

When I want to input multiple reference photos for FaceID, if one of the photos fails to detect a face, it will raise an exception with the message ('InsightFace: No face detected').

For instance, in the example below, only the photo in the bottom right corner fails to detect a face; the others work fine.
screenshot-20240507-193433

Therefore, I am wondering if it might be possible to skip the inputs where faces are not detected and just keep those where faces are detected. Would that be okay?

@BHMW
Copy link

BHMW commented Jul 7, 2024

this would be nice

@Maelstrom2014
Copy link

Please add skiping images where face not detected!

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

Successfully merging this pull request may close these issues.

3 participants