Adding options to enable auto blink, auto breath and random motion
[facial-landmarks-for-cubism.git] / include / facial_landmark_detector.h
index 7c6f639..5163fe9 100644 (file)
@@ -46,6 +46,9 @@ public:
         double faceXAngle;
         double faceYAngle;
         double faceZAngle;
+        bool autoBlink;
+        bool autoBreath;
+        bool randomMotion;
         // TODO eyebrows currently not supported...
         // I'd like to include them, but the dlib detection is very
         // noisy and inaccurate (at least for my face).
@@ -137,6 +140,9 @@ private:
         double faceYAngleZeroValue;
         double faceYAngleUpThreshold;
         double faceYAngleDownThreshold;
+        bool autoBlink;
+        bool autoBreath;
+        bool randomMotion;
     } m_cfg;
 };