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 a215c2b67b..82aab2008e 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 @@ -23,7 +23,7 @@ public: extractor_ = cv::ORB::create(); // BruteFroce matcher with Norm Hamming is the default matcher - matcher_ = cv::makePtr(cv::NORM_HAMMING, false); + matcher_ = cv::makePtr((int)cv::NORM_HAMMING, false); } virtual ~RobustMatcher();