kMeshPoints top-level constant
int
const kMeshPoints
The expected number of landmark points in a complete face mesh.
MediaPipe's face mesh model produces exactly 468 points covering facial features including eyes, eyebrows, nose, mouth, and face contours.
Use this constant to validate mesh output or split concatenated mesh data:
assert(meshPoints.length == kMeshPoints); // Validate single face
final faces = meshPoints.length ~/ kMeshPoints; // Count faces in batch
Implementation
const int kMeshPoints = 468;