From a103d6558ada835db100048cce860d910fbe0170 Mon Sep 17 00:00:00 2001 From: Tadas Baltrusaitis Date: Thu, 19 May 2016 11:59:06 -0400 Subject: [PATCH] Replacing illegal values for AUs. --- lib/local/FaceAnalyser/src/FaceAnalyser.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/local/FaceAnalyser/src/FaceAnalyser.cpp b/lib/local/FaceAnalyser/src/FaceAnalyser.cpp index f516a03..570552e 100644 --- a/lib/local/FaceAnalyser/src/FaceAnalyser.cpp +++ b/lib/local/FaceAnalyser/src/FaceAnalyser.cpp @@ -383,7 +383,7 @@ void FaceAnalyser::AddNextFrame(const cv::Mat& frame, const LandmarkDetector::CL } else { - AU_predictions_reg_all_hist[AU_predictions_reg[au].first].push_back(-100.0); + AU_predictions_reg_all_hist[AU_predictions_reg[au].first].push_back(0); } } @@ -400,7 +400,7 @@ void FaceAnalyser::AddNextFrame(const cv::Mat& frame, const LandmarkDetector::CL } else { - AU_predictions_class_all_hist[AU_predictions_class[au].first].push_back(-100.0); + AU_predictions_class_all_hist[AU_predictions_class[au].first].push_back(0); } } @@ -459,7 +459,7 @@ void FaceAnalyser::PredictAUs(const cv::Mat_& hog_features, const cv::Ma } else { - AU_predictions_reg_all_hist[AU_predictions_reg[au].first].push_back(-100.0); + AU_predictions_reg_all_hist[AU_predictions_reg[au].first].push_back(0.0); } } @@ -476,7 +476,7 @@ void FaceAnalyser::PredictAUs(const cv::Mat_& hog_features, const cv::Ma } else { - AU_predictions_class_all_hist[AU_predictions_class[au].first].push_back(-100.0); + AU_predictions_class_all_hist[AU_predictions_class[au].first].push_back(0.0); } }