added equality
authorIshank gulati <gulati.ishank@gmail.com>
Sun, 17 Jan 2016 04:16:23 +0000 (09:46 +0530)
committerIshank gulati <gulati.ishank@gmail.com>
Sun, 17 Jan 2016 04:16:23 +0000 (09:46 +0530)
doc/tutorials/features2d/feature_homography/feature_homography.markdown

index dd96302baf413d70e43938f311bfdfb40bd93d7f..ec7913c330c1d436d3622e3ba3daf0170e95ef0e 100644 (file)
@@ -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]); }
   }