From f55ad777e1e026aa3ce00ff207f3a188390cbdd1 Mon Sep 17 00:00:00 2001 From: Tadas Baltrusaitis Date: Wed, 18 Oct 2017 03:09:47 -0400 Subject: [PATCH] Some small fixes after the merge. --- exe/FeatureExtraction/FeatureExtraction.cpp | 2 -- lib/local/CppInerop/LandmarkDetectorInterop.h | 3 +-- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/exe/FeatureExtraction/FeatureExtraction.cpp b/exe/FeatureExtraction/FeatureExtraction.cpp index 599e0cb..2b9f7ae 100644 --- a/exe/FeatureExtraction/FeatureExtraction.cpp +++ b/exe/FeatureExtraction/FeatureExtraction.cpp @@ -271,8 +271,6 @@ int main (int argc, char **argv) vector output_similarity_align; vector output_hog_align_files; - - bool video_output = false; double sim_scale = -1; int sim_size = 112; diff --git a/lib/local/CppInerop/LandmarkDetectorInterop.h b/lib/local/CppInerop/LandmarkDetectorInterop.h index 407db77..417b77e 100644 --- a/lib/local/CppInerop/LandmarkDetectorInterop.h +++ b/lib/local/CppInerop/LandmarkDetectorInterop.h @@ -221,9 +221,8 @@ namespace CppInterop { // perform landmark detection for every face detected for(size_t face=0; face < face_detections.size(); ++face) { - cv::Mat depth; // if there are multiple detections go through them - bool success = ::LandmarkDetector::DetectLandmarksInImage(image->Mat, depth, face_detections[face], *clnf, *modelParams->getParams()); + bool success = ::LandmarkDetector::DetectLandmarksInImage(image->Mat, face_detections[face], *clnf, *modelParams->getParams()); auto landmarks_curr = gcnew System::Collections::Generic::List^>(); if(clnf->detected_landmarks.cols == 1)