| Face Engine SDK 5.2.0 A face detection, recognition and tracking engine.

- Main Page
- Modules
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Public Types | Public Member Functions | Public Attributes | List of all members
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

  ethnicity | ethnicity

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

- include/fsdk/Estimators/IAttributeEstimator.h