Farooq Zaman
Farooq Zaman

Reputation: 505

Google ML Kit face detector - detect incomplete face

I am trying to detect incomplete faces on ID documents using Google ML Kit but apparently ML Kit is auto-generating contours and landmarks for the face sections not visible. Please see the attached image below:

Incomplete face detection

How can I detect that the face is incomplete and display error to users accordingly. I am using following FaceDetectorOptions:

FaceDetectorOptions options =
                new FaceDetectorOptions.Builder()
                        .setPerformanceMode(FaceDetectorOptions.PERFORMANCE_MODE_ACCURATE)
                        .setContourMode(FaceDetectorOptions.CONTOUR_MODE_ALL)
                        .build();

Upvotes: 2

Views: 1148

Answers (1)

jack
jack

Reputation: 121

Currently ML Kit Face SDK is unable to detect whether face is covered or incomplete.

We will try to prioritize this functionality in 2022.

Upvotes: 1

Related Questions