2 using System.Collections.Generic;
int _initAnalyser(string dataPath)
Initialises VisageFaceAnalyser.
float emotionProbabilities[7]
result of emotion estimation, array indices correspond with the native VFAEmotionIndices enumeration.
VFAReturnCode
Enumeration describing potential outcomes of the analyseImage() and analyseStream() methods.
VFAReturnCode _analyseStream(int faceIndex, int options, ManagedAnalysisData &results)
Performs the specified face analysis tasks on a given frame and outputs results to ManagedAnalysisDat...
bool emotionsValid
boolean flag returning whether emotion estimation has been successful or not
bool _prepareDataForAnalysis()
Prepares data obtained by the track function.
Managed equivalent of the native AnalysisData structure, used as a container for all face analysis re...
VFAReturnCode _analyseImage(int faceIndex, int options, ManagedAnalysisData &results)
Performs the specified face analysis tasks on a given image and outputs results to ManagedAnalysisDat...
bool ageValid
boolean flag returning whether age estimation has been successful or not
float age
result of age estimation
void _releaseAnalyser()
Releases memory allocated by the face analyser in the _initAnalyser() function.
int gender
result of gender estimation
bool genderValid
boolean flag returning whether gender estimation has been successful or not