facialExpressionsCollector

fun ConfigurationBuilder.facialExpressionsCollector(maxFps: Int = 5, presence: Boolean = true, eyesOnScreen: Boolean = true, attention: Boolean = true, happy: Boolean = true, surprise: Boolean = true, confusion: Boolean = true, contempt: Boolean = true, disgust: Boolean = true, empathy: Boolean = true, faceDetection: Boolean = true)

Use this method in the ExperienceSdk initializer block to configure the Facial Expression Collector.

Parameters

maxFps

The maximum number of frames to analyze per second (default = 5).

presence

Whether presence detection should be enabled in the collector (default: true).

eyesOnScreen

Whether the "eyes-on-screen" detection should be enabled in the collector (default: true).

attention

Whether attention detection should be enabled in the collector (default: true).

happy

Whether happy expression detection should be enabled in the collector (default: true).

surprise

Whether surprise detection should be enabled in the collector (default: true).

confusion

Whether confusion detection should be enabled in the collector (default: true).

contempt

Whether contempt detection should be enabled in the collector (default: true).

disgust

Whether disgust detection should be enabled in the collector (default: true).

empathy

Whether empathy/sad expression detection should be enabled in the collector (default: true).

faceDetection

Whether face detection should be enabled in the collector (default: true).