Face Engine SDK  4.6.0
A face detection, recognition and tracking engine.
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

◆ getEthnicityScore()

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: