From 5312db93b4af9cdade4a7d0ba0f1f7c3f7413344 Mon Sep 17 00:00:00 2001 From: Ishank gulati Date: Sun, 17 Jan 2016 09:46:23 +0530 Subject: [PATCH] added equality --- .../features2d/feature_homography/feature_homography.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/tutorials/features2d/feature_homography/feature_homography.markdown b/doc/tutorials/features2d/feature_homography/feature_homography.markdown index dd96302ba..ec7913c33 100644 --- a/doc/tutorials/features2d/feature_homography/feature_homography.markdown +++ b/doc/tutorials/features2d/feature_homography/feature_homography.markdown @@ -75,7 +75,7 @@ int main( int argc, char** argv ) std::vector< DMatch > good_matches; for( int i = 0; i < descriptors_object.rows; i++ ) - { if( matches[i].distance < 3*min_dist ) + { if( matches[i].distance <= 3*min_dist ) { good_matches.push_back( matches[i]); } } -- 2.39.2