kDefaultMinFacePresenceConfidence top-level constant

double const kDefaultMinFacePresenceConfidence

Default minimum face-presence confidence: the mesh model's "face flag" output (see the MediaPipe Face Mesh model card) a detected face must report to be kept. Matches MediaPipe's min_face_presence_confidence (0.5), which is the standard second-stage gate that rejects first-stage detections (e.g. a palm) that the landmark model does not confirm as a face. Gates Face.meshScore; only meaningful in standard/full modes where a mesh (and thus a presence score) is computed. Pass 0.0 to disable the gate.

Implementation

const double kDefaultMinFacePresenceConfidence = 0.5;