React SDK Reference / VitalSignEngineConfig
Interface: VitalSignEngineConfig
Defining the object for configuring the plugin.
See
configure
Extends
Properties
apiKey?
optionalapiKey:string
Optional. The API key
Inherited from
RemoteHealthAnalyzerConfig.apiKey
blinkDetectorConfig?
optionalblinkDetectorConfig:BlinkDetectorConfig
Optional. The config of the BlinkDetector.
blinkDetectorType?
optionalblinkDetectorType:BlinkDetectorType
Optional. The type of blink detector. Default is dummy (No detection).
chestPixelDataType?
optionalchestPixelDataType:PixelDataType
Optional. The pixel format used for the chest pixel extractor. Default is GGG1x1
dataCollectionDuration?
optionaldataCollectionDuration:number
Optional. The duration in seconds of collecting face data. Default is 25.
dataSendingDuration?
optionaldataSendingDuration:number
Optional. The duration in seconds of sending face data to backend. Default is 5.
dataSendingRate?
optionaldataSendingRate:number
Optional. The rate in Hz of sending face data to backend. Default is 0.3.
dataWindowDuration?
optionaldataWindowDuration:number
Optional. The window duration in seconds of face data. Default is 15.
Inherited from
RemoteHealthAnalyzerConfig.dataWindowDuration
enableChestROI?
optionalenableChestROI:boolean
(Deprecated) Optional. The flag to enable the chest ROI. Default is true.
enabledROIs?
optionalenabledROIs:PixelROI[]
Optional. The list of enabled ROIs. Defaults are face and chest.
enableSavingRequest?
optionalenableSavingRequest:boolean
Optional. True if enabling saving request.
Inherited from
RemoteHealthAnalyzerConfig.enableSavingRequest
faceLostTimeout?
optionalfaceLostTimeout:number
Optional. The timeout of face lost detection in seconds
httpCall()?
optionalhttpCall: {(input,init?):Promise<Response>; (input,init?):Promise<Response>; }
Call Signature
(
input,init?):Promise<Response>
Parameters
input
RequestInfo | URL
init?
RequestInit
Returns
Promise<Response>
Call Signature
(
input,init?):Promise<Response>
Parameters
input
string | Request | URL
init?
RequestInit
Returns
Promise<Response>
Inherited from
RemoteHealthAnalyzerConfig.httpCall
landmarksSampleRate?
optionallandmarksSampleRate:number
Optional. The sample rate in fps of facial landmarks to be sent to backend. Default is 10.
Inherited from
RemoteHealthAnalyzerConfig.landmarksSampleRate
pixelDataType?
optionalpixelDataType:PixelDataType
Optional. The pixel format used for the pixel extractor. Default is RGB1x1
serverId?
optionalserverId:ServerId
Optional. The ID of the backend server.
Inherited from
RemoteHealthAnalyzerConfig.serverId
serverUrl?
optionalserverUrl:string
Optional. The URL of the backend server. If not provided, the plugin will use the default URL defined by the serverId.