VisageTrackerUnityPlugin
Public Attributes | List of all members
ManagedAnalysisData Struct Reference

Managed equivalent of the native AnalysisData structure, used as a container for all face analysis results. More...

Public Attributes

float age
 result of age estimation
 
bool ageValid
 boolean flag returning whether age estimation has been successful or not
 
int gender
 result of gender estimation
 
bool genderValid
 boolean flag returning whether gender estimation has been successful or not
 
float emotionProbabilities [7]
 result of emotion estimation, array indices correspond with the native VFAEmotionIndices enumeration.
 
bool emotionsValid
 boolean flag returning whether emotion estimation has been successful or not
 

Detailed Description

Managed equivalent of the native AnalysisData structure, used as a container for all face analysis results.

This structure is passed as a parameter to the _analyseImage() or _analyseStream() method. Both methods store analysis results into the structure.

Members ageValid, genderValid and emotionsValid may be used to verify that analysis for those features was performed successfully, before checking the results. If an operation was not performed (turned off via options) or failed, the respective validity boolean will return false and estimations will contain the default value.

Member emotionProbabilities is a 7-element float array. If emotion estimation was performed successfully, the array will be filled with estimated probabilities for emotions in the following order: anger, disgust, fear, happiness, sadness, surprise, neutral.

Definition at line 38 of file docs_VisageAnalyserUnityPlugin.cs.


The documentation for this struct was generated from the following file: