Add missing default values for OSF IP address and port
authorAdrian Iain Lam <adrianiainlam@users.noreply.github.com>
Sat, 29 May 2021 01:44:00 +0000 (02:44 +0100)
committerAdrian Iain Lam <adrianiainlam@users.noreply.github.com>
Sat, 29 May 2021 01:44:00 +0000 (02:44 +0100)
src/facial_landmark_detector.cpp

index b953240..f214d29 100644 (file)
@@ -696,6 +696,8 @@ void FacialLandmarkDetector::populateDefaultConfig(void)
     // These are values that I've personally tested to work OK for my face.
     // Your milage may vary - hence the config file.
 
+    m_cfg.osfIpAddress = "127.0.0.1";
+    m_cfg.osfPort = 11573;
     m_cfg.faceYAngleCorrection = 10;
     m_cfg.eyeSmileEyeOpenThreshold = 0.6;
     m_cfg.eyeSmileMouthFormThreshold = 0.75;