TypeScript SDK Reference / FrameContext
Interface: FrameContext
Frame-level context for signal quality computation. Passed to processFrame to enable accurate signal quality scoring.
Properties
faceBox?
optionalfaceBox:NormalizedFacebox
Normalized face bounding box.
fps
fps:
number
Current camera FPS.
landmarks?
optionallandmarks:NormalizedLandmark[]
Face landmarks from detection (MP-FaceMesh 478 points).
scanDuration?
optionalscanDuration:number
Total configured scan duration in seconds.
scanStartTime?
optionalscanStartTime:number
Timestamp in ms when the scan started.