13 #ifndef __PBIO_API__PBIO__AGE_GENDER_ESTIMATOR_H_
14 #define __PBIO_API__PBIO__AGE_GENDER_ESTIMATOR_H_
20 #include "ComplexObject.h"
21 #include "RawSample.h"
24 #include "stl_wraps_impls/WrapOStreamImpl.h"
55 typedef LightSmartPtr<AgeGenderEstimator>::tPtr
Ptr;
169 const DHPtr &dll_handle,
188 AgeGenderEstimator::AgeGenderEstimator(
189 const DHPtr &dll_handle,
191 ComplexObject(dll_handle, impl)
200 void* exception = NULL;
202 int32_t age_class, gender;
205 _dll_handle->AgeGenderEstimator_estimateAgeGender(
207 (pbio::facerec::RawSampleImpl
const*) sample._impl,
213 checkException(exception, *_dll_handle);
216 result.
age = (
Age) age_class;
227 #endif // __PBIO_API__PBIO__AGE_GENDER_ESTIMATOR_H_
Gender gender
Gender.
Definition: AgeGenderEstimator.h:134
AgeGender estimateAgeGender(const pbio::RawSample &sample) const
To estimate age and gender of a given face sample.
Definition: AgeGenderEstimator.h:198
Interface object for creating other interface objects.
Definition: FacerecService.h:64
Age in the range of [55; inf) years.
Definition: AgeGenderEstimator.h:90
Interface object that stores a captured face sample.
Definition: RawSample.h:49
Age in the range of [37; 55) years.
Definition: AgeGenderEstimator.h:83
Age age
Age.
Definition: AgeGenderEstimator.h:127
Age
Age groups.
Definition: AgeGenderEstimator.h:62
Age in the range of [0; 18) years.
Definition: AgeGenderEstimator.h:69
Error - the class of exceptions thrown when errors occur.
Age in the range of [18; 37) years.
Definition: AgeGenderEstimator.h:76
Age and gender.
Definition: AgeGenderEstimator.h:120
Interface object for age and gender estimation.
Definition: AgeGenderEstimator.h:46
Gender
Gender groups.
Definition: AgeGenderEstimator.h:98
Definition: FacerecService.mm:79
float age_years
Age estmated as number.
Definition: AgeGenderEstimator.h:141
LightSmartPtr< AgeGenderEstimator >::tPtr Ptr
Alias for the type of a smart pointer to AgeGenderEstimator.
Definition: AgeGenderEstimator.h:55
Female.
Definition: AgeGenderEstimator.h:105
Male.
Definition: AgeGenderEstimator.h:112