diff --git a/samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/RobustMatcher.h b/samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/RobustMatcher.h index fc03c74fa..1871aa452 100644 --- a/samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/RobustMatcher.h +++ b/samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/RobustMatcher.h @@ -9,7 +9,6 @@ #define ROBUSTMATCHER_H_ #include -#include #include #include diff --git a/samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.h b/samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.h index d51eb28b3..36709e80c 100644 --- a/samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.h +++ b/samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.h @@ -9,7 +9,6 @@ #define UTILS_H_ #include -#include #include "PnPProblem.h" diff --git a/samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/main_detection.cpp b/samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/main_detection.cpp index ff00e24e8..85272f9d8 100644 --- a/samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/main_detection.cpp +++ b/samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/main_detection.cpp @@ -1,9 +1,6 @@ #include #include -#include "cv.h" -#include "highgui.h" - #include #include #include @@ -155,7 +152,7 @@ int main(int argc, char *argv[]) // Create & Open Window - cv::namedWindow("REAL TIME DEMO", CV_WINDOW_KEEPRATIO); + cv::namedWindow("REAL TIME DEMO", cv::WINDOW_KEEPRATIO); cv::VideoCapture cap; // instantiate VideoCapture diff --git a/samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/main_verification.cpp b/samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/main_verification.cpp index 75456588d..1b948be4d 100644 --- a/samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/main_verification.cpp +++ b/samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/main_verification.cpp @@ -1,8 +1,5 @@ #include -#include "cv.h" -#include "highgui.h" - #include #include #include @@ -132,7 +129,7 @@ int main(int, char**) registration.setNumMax(n); // Create & Open Window - cv::namedWindow("MODEL GROUND TRUTH", CV_WINDOW_KEEPRATIO); + cv::namedWindow("MODEL GROUND TRUTH", cv::WINDOW_KEEPRATIO); // Set up the mouse events cv::setMouseCallback("MODEL GROUND TRUTH", onMouseModelVerification, 0 );