Skip to Content

SDK signals

The metrics Glint requests and the validation codes it responds to.

Requested metrics

requestedMetrics: [...breathingMetrics, MetricType.PULSE_RATE, ...faceMetrics]
FieldUsed for
face.landmarksThe eyebrow detector.
face.talkingBlocking the exhale gesture during speech.
breathing.upperTraceThe exhale detector and the on-screen trace.
cardio.pulseRateDisplay only.

The bundles also deliver face.blinking, face.expression, breathing.lowerTrace and breathing.rate. Glint does not use them.

Validation

Any status other than kOk pauses scanning and shows the SDK's hint. The codes include kNoFaceFound, kMultipleFacesFound, kFaceNotCentered, kTooDark, kTooBright, kChestNotVisible, kCameraTuning, kFrameRateTooLow, kExcessiveMotion, kFaceTooClose, kFaceTooFar, kFaceTooHigh, kFaceTooLow and kFaceNotForward.

Timing

Measured on one laptop:

SignalWarm startFirst session of the day
Landmarks1–3 s46 s
Breathing trace1–3 s46 s
Blink, talking4 s36 s
Expression6–9 s48 s
Pulse13–32 s60 s
Breathing trace stable34–66 s51 s
Warm startFirst session of the day0 s10 s20 s30 s40 s50 s60 s70 sLandmarks1–3 s46 sBreathing trace1–3 s46 sBlink, talking4 s36 sExpression6–9 s48 sPulse13–32 s60 sTrace stable34–66 s51 s
Seconds until each signal first arrives, measured on one laptop. The first session of the day is slower for everything except the stable trace, whose warm range already reaches past it.

On this page