From 51d44d08577a1ad8a0d6562c5e6266367d376291 Mon Sep 17 00:00:00 2001 From: Adrian Iain Lam Date: Sat, 29 May 2021 02:44:00 +0100 Subject: [PATCH] Add missing default values for OSF IP address and port --- src/facial_landmark_detector.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/facial_landmark_detector.cpp b/src/facial_landmark_detector.cpp index b953240..f214d29 100644 --- a/src/facial_landmark_detector.cpp +++ b/src/facial_landmark_detector.cpp @@ -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; -- 2.7.4