minFacePresenceConfidence property
double
get
minFacePresenceConfidence
Minimum face-presence confidence (0.0 to 1.0) a face must have to be returned, gating the mesh model's "face flag" output (Face.meshScore).
This is MediaPipe's min_face_presence_confidence, the second-stage check
that rejects first-stage detections the landmark model does not confirm as
a face (a common source of false positives such as a hand or palm).
Configured via create/initialize. Defaults to
kDefaultMinFacePresenceConfidence (0.5), matching MediaPipe. Only
applies in standard/full modes, where a mesh (and thus a presence
score) is computed; in fast mode there is no mesh, so it has no effect.
Pass 0.0 to disable.
Implementation
double get minFacePresenceConfidence => _minFacePresenceConfidence;