Affdex SDK
Technical Reference (C++)
Classes | Typedefs | Enumerations | Variables
affdex Namespace Reference

Affdex SDK unmanaged C++ namespace More...

Classes

class  AffdexException
 AffdexException. Base exception type for exceptions thrown by the Affectiva SDK. More...
 
struct  Appearance
 
struct  array_deleter
 Struct array_deleter - for proper deletion of array contents for shared pointer of array More...
 
class  CameraDetector
 A detector used to acquire and process frames from a physical camera. More...
 
class  Detector
 Base detector class. More...
 
struct  Emojis
 Structure containing emoji(s) scores and the value of the most dominant emoji. More...
 
struct  Emotions
 Structure containing emotions scores More...
 
struct  Expressions
 Structure containing the facial expressions scores More...
 
class  Face
 Represents a face found within a processed Frame. More...
 
class  FaceListener
 Interface providing callbacks to signal the appearance/disappearance of faces from a sequence of frames. More...
 
struct  FaceQuality
 Structure containing face quality values More...
 
struct  FeaturePoint
 Structure containing basic feature point coordinates. Coordinate system is an x,y system with the top-left pixel center at ( x=0, y=0 ) and the bottom right pixel at ( x=width-1, y=height-1 ) More...
 
class  Frame
 A wrapper class for images and their associated timestamps. More...
 
class  FrameDetector
 A Detector used to process a sequence of pushed frames. More...
 
class  ImageListener
 Interface providing callbacks for capture and processsing results of individual frames. More...
 
struct  Measurements
 Structure containing the measurements More...
 
struct  Orientation
 Structure containing the angles to represent the head orientation in degrees. More...
 
class  PhotoDetector
 A Detector for processing still photographs. More...
 
class  ProcessStatusListener
 Interface providing callbacks for the state of video processing. More...
 
class  VideoDetector
 A Detector used to process a video file. This class opens a video file and will immediately start decoding and processing frames from the video file. More...
 

Typedefs

typedef std::vector< FeaturePointVecFeaturePoint
 
typedef std::string path
 Type for specifying filesystem paths. More...
 
typedef int FaceId
 Face identifier More...
 
typedef std::unordered_map< std::string, float > MetricsMap
 Container for storing More...
 
typedef std::shared_ptr< byte > ByteBuffer
 

Enumerations

enum  Gender { Unknown, Male, Female }
 Enumeration for the gender values More...
 
enum  Glasses { No, Yes }
 Enumeration for the glasses values More...
 
enum  Age {
  AGE_UNKNOWN = 0, AGE_UNDER_18 = 1, AGE_18_24 = 2, AGE_25_34 = 3,
  AGE_35_44 = 4, AGE_45_54 = 5, AGE_55_64 = 6, AGE_65_PLUS = 7
}
 Enumeration for the age values More...
 
enum  Ethnicity {
  UNKNOWN = 0, CAUCASIAN = 1, BLACK_AFRICAN = 2, SOUTH_ASIAN = 3,
  EAST_ASIAN = 4, HISPANIC = 5
}
 Enumeration for the ethnicity values More...
 
enum  Emoji {
  Relaxed = 9786, Smiley = 128515, Laughing = 128518, Kissing = 128535,
  Disappointed = 128542, Rage = 128545, Smirk = 128527, Wink = 128521,
  StuckOutTongueWinkingEye = 128540, StuckOutTongue = 128539, Flushed = 128563, Scream = 128561,
  Unknown = 128528
}
 Enumeration for the emoji names used by dominantEmoji More...
 
enum  FaceDetectorMode { FaceDetectorMode::LARGE_FACES, FaceDetectorMode::SMALL_FACES }
 Face detector configuration More...
 

Variables

const float DEFAULT_PROCESSING_FRAMERATE = 30
 
const unsigned int DEFAULT_MAX_NUM_FACES = 1
 

Detailed Description

Affdex SDK unmanaged C++ namespace

Typedef Documentation

typedef int affdex::FaceId

Face identifier

typedef std::unordered_map<std::string, float> affdex::MetricsMap

Container for storing

typedef std::string affdex::path

Type for specifying filesystem paths.

Enumeration Type Documentation

Enumeration for the age values

enum affdex::Emoji
strong

Enumeration for the emoji names used by dominantEmoji

Enumeration for the ethnicity values

Face detector configuration

Enumerator
LARGE_FACES 

To target faces occupying a large area.

SMALL_FACES 

To target faces occupying a small area.

enum affdex::Gender
strong

Enumeration for the gender values

enum affdex::Glasses
strong

Enumeration for the glasses values