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
object Companion
Link copied to clipboard
data class Result(val isActive: Boolean, val probability: Float)

Functions

Link copied to clipboard
fun addCheckpoint(message: String)
Link copied to clipboard
open override fun toString(): String

Properties

Link copied to clipboard
open override val args: FacialExpressionsDetected
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val type: String?