Package-level declarations

Types

Link copied to clipboard
data class CameraRestrictedModeEvent(val isRestrictedModeActive: Boolean) : Event
Link copied to clipboard
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.

Link copied to clipboard
data class FacialLandmarkData(val elapsedMillis: Long, val landmarks: Landmarks, val isPresenceActive: Boolean, val image: SinglePlaneImage, val debugInfo: MutableMap<String, String> = mutableMapOf())
Link copied to clipboard
data class Landmarks(val points: List<Landmarks.Point>, val translate: Landmarks.Point, val size: Double, val good: Boolean)
Link copied to clipboard
data class SinglePlaneImage(val buffer: ByteBuffer, val width: Int, val height: Int, val stride: Int, val timestamp: Long, val elapsedRealtimeWhenCaptured: Long, val seq: Long, val orientation: Orientation = Orientation(false, RotationDegrees.R0))