FacialExpressionsDetectedEvent
class FacialExpressionsDetectedEvent(elapsedMillis: Long, val results: FacialExpressionsDetectedEvent.FacialExpressionResults, val imagePreparationDuration: Long, val predictionDuration: Long) : EventWithArgs<FacialExpressionsDetected>
This event is emitted for each camera image frame that is analyzed by the facial expression collector. It contains the results and other info about the detection.
Constructors
Link copied to clipboard
fun FacialExpressionsDetectedEvent(elapsedMillis: Long, results: FacialExpressionsDetectedEvent.FacialExpressionResults, imagePreparationDuration: Long, predictionDuration: Long)
Types
Link copied to clipboard
data class FacialExpressionResults(val attention: FacialExpressionsDetectedEvent.Result?, val confusion: FacialExpressionsDetectedEvent.Result?, val contempt: FacialExpressionsDetectedEvent.Result?, val disgust: FacialExpressionsDetectedEvent.Result?, val empathy: FacialExpressionsDetectedEvent.Result?, val happy: FacialExpressionsDetectedEvent.Result?, val surprise: FacialExpressionsDetectedEvent.Result?, val eyesOnScreen: FacialExpressionsDetectedEvent.Result?, val presence: FacialExpressionsDetectedEvent.Result?, val faceDetected: FacialExpressionsDetectedEvent.Result?)