added equality
This commit is contained in:
parent
64057965f5
commit
5312db93b4
@ -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]); }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user