Skip to main content
Version: 21 Aug 2024

MLFacialExpressionSettings

Module: Facial Expression

A structure containing settings for the facial expressions. This structure must be initialized by calling MLFacialExpressionSettingsInit before use. More...

#include <ml_facial_expression.h>

Public Attributes

TypeName
uint32_tversion
boolenable_eye_expression
Enable MLFacialExpressionEyeData.

Detailed Description

struct MLFacialExpressionSettings;

A structure containing settings for the facial expressions. This structure must be initialized by calling MLFacialExpressionSettingsInit before use.

API Level:

  • 29

Public Attributes Documentation

version

uint32_t version;

Version of this settings.


enable_eye_expression

bool enable_eye_expression;

Enable MLFacialExpressionEyeData.

If true, facial expressions will detect MLFacialExpressionEyeData and the same can queried using MLFacialExpressionGetEyeData.

This should be disabled when app does not need facial expression data. Internal state of the system will be maintained.