mirror of
https://github.com/opencv/opencv.git
synced 2024-11-27 20:50:25 +08:00
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++ )
|
||||
{
|
||||
DMatch bestMatch;
|
||||
size_t best_ci = -1;
|
||||
size_t best_ci = 0;
|
||||
for( size_t ci = 0; ci < signature.size(); ci++ )
|
||||
{
|
||||
if( -signature[ci] < bestMatch.distance )
|
||||
|
Loading…
Reference in New Issue
Block a user