Structure representing estimated person attributes. More...
#include <voicesdk/attributes/attributes.h>
Public Types | |
enum class | Gender : uint8_t { MALE = 0 , FEMALE = 1 } |
Enumeration representing human gender. | |
enum class | PhoneCallParticipant : uint8_t { OPERATOR = 0 , CUSTOMER = 1 , OTHER = 2 , UNDEFINED = 3 } |
Enumeration representing phone call participant class. More... | |
Public Member Functions | |
Attributes (const Attributes &other)=default | |
Attributes (const float &gender_score_, const Gender &gender_, const size_t &age_, const PhoneCallParticipant &phone_call_participant_=PhoneCallParticipant::UNDEFINED) | |
bool | operator== (const Attributes &other) const |
Public Attributes | |
const float | gender_score |
Raw gender score (the bigger score corresponding to male and the smaller score corresponding to female) | |
const Gender | gender |
Estimated gender. | |
const size_t | age |
Estimated age in years. | |
const PhoneCallParticipant | phone_call_participant |
Estimated phone call participant class. Makes sense only for single speaker phone call recordings. More... | |
Friends | |
std::ostream & | operator<< (std::ostream &os, const Attributes &obj) |
Structure representing estimated person attributes.
|
strong |
const PhoneCallParticipant voicesdk::attr::Attributes::phone_call_participant |
Estimated phone call participant class. Makes sense only for single speaker phone call recordings.