Face Engine SDK  5.3.0
A face detection, recognition and tracking engine.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
fsdk::EthnicityEstimation Struct Reference

Ethnicity estimation structure. Each estimation is given in normalized [0, 1] range. More...

#include <IAttributeEstimator.h>

Public Types

enum  Ethnicities {
  AfricanAmerican = 0, Indian, Asian, Caucasian,
  Count
}
 

Public Member Functions

Ethnicities getPredominantEthnicity () const
 Returns ethnicity with greatest score.
 
float getEthnicityScore (Ethnicities ethnicity) const
 Returns score of required ethnicity. More...
 

Public Attributes

float africanAmerican
 
float indian
 
float asian
 
float caucasian
 

Detailed Description

Ethnicity estimation structure. Each estimation is given in normalized [0, 1] range.

Member Function Documentation

float fsdk::EthnicityEstimation::getEthnicityScore ( EthnicityEstimation::Ethnicities  ethnicity) const
inline

Returns score of required ethnicity.

Parameters
ethnicityethnicity

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