![]() |
DeepSight SDK
3.0.0
DeepSight SDK - crowd face analysis
|
DeepSight SDK aggregated person class. More...
Public Attributes | |
| unsigned int | ID { 0 } |
| Unique identifying number assigned by the tracker. | |
| int | avgAge { -1 } |
| Estimated age in years. More... | |
| float | avgGender { 0.0f } |
| Estimated gender in the range [-1, 1]. More... | |
| bool | faceMask { false } |
| Indicates whether the person was wearing a face mask or not. | |
| Person::Emotions | avgEmotions { -1.0f, -1.0f, -1.0f, -1.0f, -1.0f, -1.0f, -1.0f } |
| Person's facial expressions expressed as a combination of the 7 basic emotions: happiness, sadness, fear, disgust, anger, surprise, neutral. More... | |
| float | smileViewing { 0.0f } |
| The maximum smile quantity while a person was viewing. | |
| float | smileMaximum { 0.0f } |
| The maximum smile quantity while a person was detected. | |
| unsigned int | viewingSessions { 0 } |
| Number of times the person was viewing. | |
| unsigned int | dwellSessions { 0 } |
| Number of times the person was dwelling. | |
| std::chrono::system_clock::time_point | initialDetectionTime { } |
| Time when the person was detected for the first time. | |
| std::chrono::milliseconds | totalDetectionDuration { 0 } |
| Total amount of time the person was detected. | |
| std::chrono::milliseconds | totalViewingDuration { 0 } |
| Total amount of time the person was viewing. | |
| std::chrono::milliseconds | averageViewingDuration { 0 } |
| Average amount of time the person was viewing thoughout the different viewing sessions. More... | |
| std::chrono::milliseconds | totalDwellDuration { 0 } |
| Total amount of time the person was dwelling. | |
| std::chrono::milliseconds | averageDwellDuration { 0 } |
| Average amount of time the person was dwelling thoughout the different dwelling sessions. More... | |
DeepSight SDK aggregated person class.
The ds::AggregatedPerson class stores the results of the aggregation of all the detections of a person over multiple frames.
| std::chrono::milliseconds ds::AggregatedPerson::averageDwellDuration { 0 } |
Average amount of time the person was dwelling thoughout the different dwelling sessions.
This is computed as ds::AggregatedPerson::totalDwellDuration / ds::AggregatedPerson::dwellSessions.
| std::chrono::milliseconds ds::AggregatedPerson::averageViewingDuration { 0 } |
Average amount of time the person was viewing thoughout the different viewing sessions.
This is computed as ds::AggregatedPerson::totalViewingDuration / ds::AggregatedPerson::viewingSessions.
| int ds::AggregatedPerson::avgAge { -1 } |
Estimated age in years.
The value -1 means that it was not possible to estimate the age.
| ds::Person::Emotions ds::AggregatedPerson::avgEmotions { -1.0f, -1.0f, -1.0f, -1.0f, -1.0f, -1.0f, -1.0f } |
Person's facial expressions expressed as a combination of the 7 basic emotions: happiness, sadness, fear, disgust, anger, surprise, neutral.
All emotions set to -1 means that is was not possible to estimate the emotions.
| float ds::AggregatedPerson::avgGender { 0.0f } |
Estimated gender in the range [-1, 1].
The gender of a person is expressed as a floating number in the range of values between -1 and 1, where -1 means male, 1 means female and 0 means uncertain.