Skip to content

TypeScript SDK Reference / ScanConditions

Interface: ScanConditions

Defines the required conditions for a successful vital sign scan. All conditions must be met for the scan to proceed and produce accurate results. These conditions are checked in real-time during the scanning process.

Properties

centered

centered: boolean

True if the face is properly centered in the camera frame.


distance

distance: boolean

True if the face distance from the camera is within acceptable range.


distanceCondition

distanceCondition: DistanceCondition

Detailed description of the current distance condition.


facePositionCondition

facePositionCondition: FacePositionCondition

Detailed description of the current face position condition.


fps

fps: number

Current frames per second of the video stream.


frameRate

frameRate: boolean

True if the camera frame rate meets the minimum requirements.


lighting

lighting: boolean

True if the lighting conditions are adequate for accurate measurement.


movement

movement: boolean

True if the face movement is minimal and stable.


serverReady

serverReady: boolean

True if the backend server is ready and connected.