visageSDK
Classes | Enumerations
Face Analysis

Classes and enumerations related to Face Analysis. More...

Classes

class  AnalysisData
 Objective-C wrapper of the native VisageSDK::AnalysisData class. More...
 
class  VisageFaceAnalyser
 Objective-C wrapper of the native VisageSDK::VisageFaceAnalyser class. More...
 

Enumerations

enum  VFAFlags : NSInteger { VFA_AGE = 1, VFA_GENDER = 1 << 1, VFA_EMOTION = 1 << 2 }
 VFAFlags are used to describe whether age, gender and/or emotion data have been loaded succesfully or used to select which face analysis operations will be performed. More...
 
enum  VFAReturnCode : NSInteger {
  NoError = 0, InvalidFrame = 1, InvalidFaceData = 2, InvalidLicense = 3,
  DataUninitialized = 4
}
 Enumeration describing potential outcomes of the analyseImage() and analyseStream() methods. More...
 
enum  VFAEmotionIndices : NSInteger {
  Anger = 0, Disgust = 1, Fear = 2, Happiness = 3,
  Sadness = 4, Surprise = 5, Neutral = 6
}
 VFAEmotionIndices enumeration facilitates easier access to a specific emotion, particularly when iterating through arrays. More...
 

Detailed Description

Classes and enumerations related to Face Analysis.

Enumeration Type Documentation

◆ VFAEmotionIndices

enum VFAEmotionIndices : NSInteger

VFAEmotionIndices enumeration facilitates easier access to a specific emotion, particularly when iterating through arrays.

Enumerator
Anger 

Emotion index 0.

Disgust 

Emotion index 1.

Fear 

Emotion index 2.

Happiness 

Emotion index 3.

Sadness 

Emotion index 4.

Surprise 

Emotion index 5.

Neutral 

Emotion index 6.

Definition at line 53 of file objc_VisageFaceAnalyser.h.

◆ VFAFlags

enum VFAFlags : NSInteger

VFAFlags are used to describe whether age, gender and/or emotion data have been loaded succesfully or used to select which face analysis operations will be performed.

Flags are returned as a bitwise combination in function init() and need to be passed as options by functions analyseImage() and analyseStream().

Enumerator
VFA_AGE 

enable age estimation or check whether age data files have been properly initialized

VFA_GENDER 

enable gender estimation or check whether gender data files have been properly initialized

VFA_EMOTION 

enable emotion estimation or check whether emotion data files have been properly initialized

Definition at line 31 of file objc_VisageFaceAnalyser.h.

◆ VFAReturnCode

enum VFAReturnCode : NSInteger

Enumeration describing potential outcomes of the analyseImage() and analyseStream() methods.

Enumerator
NoError 

the function has executed successfully

InvalidFrame 

the image pointer or the related data may be null

InvalidFaceData 

the FaceData has not been initialized by a previous tracking or detection operation

InvalidLicense 

the license may be missing, invalid file name passed, expired or another related error

DataUninitialized 

VisageFaceAnalyser was not properly initialized by a call to Init() method, or required data files were not found on supplied location.

Definition at line 41 of file objc_VisageFaceAnalyser.h.