minor fixed
This commit is contained in:
parent
5086c1b94a
commit
b63b3df522
@ -1105,7 +1105,7 @@ void FernDescriptorMatcher::knnMatchImpl( const Mat& queryImage, vector<KeyPoint
|
|||||||
for( int k = 0; k < knn; k++ )
|
for( int k = 0; k < knn; k++ )
|
||||||
{
|
{
|
||||||
DMatch bestMatch;
|
DMatch bestMatch;
|
||||||
size_t best_ci = -1;
|
size_t best_ci = 0;
|
||||||
for( size_t ci = 0; ci < signature.size(); ci++ )
|
for( size_t ci = 0; ci < signature.size(); ci++ )
|
||||||
{
|
{
|
||||||
if( -signature[ci] < bestMatch.distance )
|
if( -signature[ci] < bestMatch.distance )
|
||||||
|
Loading…
x
Reference in New Issue
Block a user