From b668facb00b5f38c810487dd2bf5becc6047c137 Mon Sep 17 00:00:00 2001 From: Tadas Baltrusaitis Date: Sat, 28 Oct 2017 20:46:22 +0100 Subject: [PATCH] Redefinition of variable fix. --- exe/FeatureExtraction/FeatureExtraction.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/exe/FeatureExtraction/FeatureExtraction.cpp b/exe/FeatureExtraction/FeatureExtraction.cpp index 0e0572b..856ca24 100644 --- a/exe/FeatureExtraction/FeatureExtraction.cpp +++ b/exe/FeatureExtraction/FeatureExtraction.cpp @@ -472,7 +472,6 @@ int main (int argc, char **argv) detection_success = LandmarkDetector::DetectLandmarksInImage(grayscale_image, face_model, det_parameters); } - // Work out the pose of the head from the tracked model cv::Vec6d pose_estimate = LandmarkDetector::GetPose(face_model, fx, fy, cx, cy); @@ -517,9 +516,6 @@ int main (int argc, char **argv) } } - // Work out the pose of the head from the tracked model - cv::Vec6d pose_estimate = LandmarkDetector::GetPose(face_model, fx, fy, cx, cy); - if (hog_output_file.is_open()) { output_HOG_frame(&hog_output_file, detection_success, hog_descriptor, num_hog_rows, num_hog_cols);