Readonlyonbefore REST call
bytes downloaded
When a chunk is sent to DeepAffex
when measurement results are received
When an error occurs
when face tracker state Changes
When facial landmarks are updated
When media element size changes
when measurement results are received
StaticVERSIONDestroy Face Tracker workers and DFX extraction library worker
true if all workers were successfully destroyed, false otherwise
Disconnect from the Web Socket if the measurement is started
Download assets and initialize DFX and face tracker workers
true if success
Returns version number
version - [Web SDK, DFX Extraction Lib, Face Tracker]
OptionalsdkId: stringReset only if the face tracker assets have been downloaded
true if the reset was successful, false otherwise
Set demographics
Demographics object
true if demographics are valid and set, false otherwise
Set extraction library settings
Number of chunks for extraction library collector
Target FPS for extraction library collector
Chunk duration in seconds for extraction library collector
Set the action for the next chunk to LAST::PROCESS
Start measurement by obtaining a measurement ID, resetting the collection, setting number of chunks and constraints config, setting demographics, starting collection, and connecting to the Web Socket if user token is available.
Returns the measurement ID.
Stop Face Tracker tracking frames and DFX extraction library collection If the measurement is started, it will disconnect from the Web Socket as well.
StaticinitInitialize the Measurement SDK
Initialization settings
Promise
after REST call