Reputation: 505
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:
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
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