Skip to content

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

Open
mymusise wants to merge 1 commit intocubiq:mainfrom
mymusise:main
Open

Skip images where no faces are detected, instead of directly raising an Exception.#539
mymusise wants to merge 1 commit intocubiq:mainfrom
mymusise:main

Conversation

@mymusise
Copy link
Copy Markdown

@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?

…an Exception.

Signed-off-by: mymusise <mymusise1@gmail.com>
@BHMW
Copy link
Copy Markdown

BHMW commented Jul 7, 2024

this would be nice

@Maelstrom2014
Copy link
Copy Markdown

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