Optional quality checks¶
FaceNotCentered¶
You can enable an optional quality check FaceNotCentered
in LocalFaceDetector
:
val faceDetectorOptions = FaceDetectorOptions.createFaceDetectorOptions(true)
val faceDetector = LocalFaceDetector(context, faceDetectorOptions)
With this enabled check, the detector will check if a face is not at the center of the screen.