Skip to main content
Version: 20 Mar 2024

MLFacialExpressionEyeData

Module: Facial Expression

A structure containing information about facial expressions. This structure must be initialized by calling MLFacialExpressionEyeDataInit before use. More...

#include <ml_facial_expression.h>

Public Attributes

TypeName
uint32_tversion
MLTimetimestamp
float[MLFacialExpressionEyeExpressionType_Count]eye_expression_weights
Eye expression weights. The values are between 0 and 1 and ordered such that the array should be indexed using MLFacialExpressionEyeExpressionType.

Detailed Description

struct MLFacialExpressionEyeData;

A structure containing information about facial expressions. This structure must be initialized by calling MLFacialExpressionEyeDataInit before use.

API Level:

  • 29

Public Attributes Documentation

version

uint32_t version;

Version of the structure.


timestamp

MLTime timestamp;

The MLTime timestamp when expression data was updated.


eye_expression_weights

float[MLFacialExpressionEyeExpressionType_Count] eye_expression_weights;

Eye expression weights. The values are between 0 and 1 and ordered such that the array should be indexed using MLFacialExpressionEyeExpressionType.

TypeDescription
float[MLFacialExpressionEyeExpressionType_Count][MLFacialExpressionEyeExpressionType_Count]