visageSDK
Public Attributes | List of all members
VisageCSWrapper.AnalysisData Struct Reference

Enumeration describing potential outcomes of the VisageFaceAnalyser::analyseImage() and VisageFaceAnalyser::analyseStream() methods: AnalysisData structure, used as a container for all face analysis results. More...

Public Attributes

float age = -1.0
 Result of age estimation More...
 
bool ageValid = false
 Boolean flag returning whether age estimation has been successful or not More...
 
int gender = -1
 Result of gender estimation as follows:
1 for MALE gender
0 for FEMALE gender More...
 
bool genderValid = false
 Boolean flag returning whether gender estimation has been successful or not More...
 
float[] emotionProbabilities
 Result of emotion estimation, see: VFAEmotionIndices More...
 
bool emotionsValid = false
 Boolean flag returning whether emotion estimation has been successful or not More...
 

Detailed Description

Enumeration describing potential outcomes of the VisageFaceAnalyser::analyseImage() and VisageFaceAnalyser::analyseStream() methods: AnalysisData structure, used as a container for all face analysis results.

This structure is passed as a parameter to the VisageFaceAnalyser::analyseImage() or VisageFaceAnalyser::analyseStream() methods. Both methods store analysis results into the structure. 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.

Definition at line 52 of file VisageFaceAnalyser.cs.

Member Data Documentation

float VisageCSWrapper.AnalysisData.age = -1.0

Result of age estimation

Definition at line 57 of file VisageFaceAnalyser.cs.

bool VisageCSWrapper.AnalysisData.ageValid = false

Boolean flag returning whether age estimation has been successful or not

Definition at line 62 of file VisageFaceAnalyser.cs.

float [] VisageCSWrapper.AnalysisData.emotionProbabilities

Result of emotion estimation, see: VFAEmotionIndices

Definition at line 79 of file VisageFaceAnalyser.cs.

bool VisageCSWrapper.AnalysisData.emotionsValid = false

Boolean flag returning whether emotion estimation has been successful or not

Definition at line 84 of file VisageFaceAnalyser.cs.

int VisageCSWrapper.AnalysisData.gender = -1

Result of gender estimation as follows:
1 for MALE gender
0 for FEMALE gender

Definition at line 68 of file VisageFaceAnalyser.cs.

bool VisageCSWrapper.AnalysisData.genderValid = false

Boolean flag returning whether gender estimation has been successful or not

Definition at line 73 of file VisageFaceAnalyser.cs.


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