 |
Face SDK
1.7 Mozart rc
Face Recognition Software Development Kit
|
Go to the documentation of this file.
3 #ifndef FACE_SDK_AGE_GENDER_H
4 #define FACE_SDK_AGE_GENDER_H
31 typedef std::vector< face_sdk::age_gender_info > age_gender_info_set;
50 virtual uint32_t
version()
const noexcept = 0;
54 virtual bool is_compatible(uint32_t alignment_version)
const noexcept = 0;
69 const std::shared_ptr<face_sdk::license> &
license,
70 const std::shared_ptr<face_sdk::data_container> &container,
72 int32_t compute_device);
85 const std::shared_ptr<face_sdk::data_container> &container,
87 int32_t compute_device);
100 const std::shared_ptr<face_sdk::license> &
license,
102 int32_t compute_device);
116 int32_t compute_device);
Age&Gender classification algorithm. Classify age and gender of the face based on face_sdk::alignment...
Definition: age_gender.h:37
Contains information about age and gender for the specified face.
Definition: age_gender.h:22
virtual bool is_compatible(uint32_t alignment_version) const noexcept=0
Function helps to determine Alignment and Age&Gender algorithms versions compatibility....
float gender
Indicates gender. Value less than 0 indicates female gender otherwise male gender.
Definition: age_gender.h:28
The license object. A license object provide information about your limits in face_sdk....
Definition: license.h:23
virtual uint32_t version() const noexcept=0
Algorithm`s version. See Age&Gender versions.
Alignment info. Contains results of alignment.
Definition: alignment_info.h:48
virtual face_sdk::age_gender_info_set calc_age_gender(const face_sdk::alignment_info_set &alignment_info)=0
Classifies age and gender for the aligned faces.
std::shared_ptr< face_sdk::age_gender > FACE_SDK_EXPORT make_age_gender(uint32_t version, uint32_t batch_size, int32_t compute_device)
Makes the face_sdk::age_gender object with needed version, batch size and compute device....