15 #include <opencv2/core/core.hpp>
40 unsigned int ID { 0 };
42 float gender { 0.0f };
43 float smile { -1.0f };
44 float faceMask { -1.0f };
45 Emotions emotions { -1.0f, -1.0f, -1.0f, -1.0f, -1.0f, -1.0f, -1.0f };
46 float detectionConfidence { 0.0f };
47 bool isViewing {
false };
48 bool isDwelling {
false };
50 cv::Rect boundingBox { 0, 0, 0, 0 };
51 cv::Point3i worldPosition { 0, 0, 0 };
53 cv::Point2i headgaze { 0, 0 };
54 int distanceFromCamera { 0 };
56 std::chrono::system_clock::time_point detectionTime { };
57 std::chrono::milliseconds detectionDuration { 0 };
58 std::chrono::milliseconds totalViewingDuration { 0 };
59 std::chrono::milliseconds currentViewingDuration { 0 };
60 std::chrono::milliseconds totalDwellDuration { 0 };
61 std::chrono::milliseconds currentDwellDuration { 0 };
68 unsigned int ID { 0 };
71 float avgGender { 0.0f };
73 bool faceMask {
false };
77 float smileViewing { 0.0f };
78 float smileMaximum { 0.0f };
80 unsigned int viewingSessions { 0 };
81 unsigned int dwellSessions { 0 };
83 std::chrono::system_clock::time_point initialDetectionTime { };
84 std::chrono::milliseconds totalDetectionDuration{ 0 };
85 std::chrono::milliseconds totalViewingDuration { 0 };
86 std::chrono::milliseconds averageViewingDuration{ 0 };
87 std::chrono::milliseconds totalDwellDuration { 0 };
88 std::chrono::milliseconds averageDwellDuration { 0 };
95 unsigned int ID { 0 };
96 cv::Rect boundingBox { 0, 0, 0, 0 };
97 float detectionConfidence{ 0.0f };
98 std::chrono::system_clock::time_point detectionTime { };
99 std::chrono::milliseconds detectionDuration { 0 };
106 unsigned int ID { 0 };
107 std::chrono::system_clock::time_point initialDetectionTime { };
108 std::chrono::milliseconds totalDetectionDuration{ 0 };