added equality

This commit is contained in:
Ishank gulati 2016-01-17 09:46:23 +05:30
parent 64057965f5
commit 5312db93b4

View File

@ -75,7 +75,7 @@ int main( int argc, char** argv )
std::vector< DMatch > good_matches; std::vector< DMatch > good_matches;
for( int i = 0; i < descriptors_object.rows; i++ ) 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]); } { good_matches.push_back( matches[i]); }
} }