From f8227d2e225025eb31a104c64b6a472adb2457ea Mon Sep 17 00:00:00 2001 From: Vladyslav Usenko Date: Wed, 4 Mar 2020 13:36:38 +0100 Subject: [PATCH] small fix --- src/utils/keypoints.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/keypoints.cpp b/src/utils/keypoints.cpp index 0256a02..8625996 100644 --- a/src/utils/keypoints.cpp +++ b/src/utils/keypoints.cpp @@ -203,7 +203,7 @@ void detectKeypoints( int points_added = 0; int threshold = 40; - while (points_added < num_points_cell && threshold >= 10) { + while (points_added < num_points_cell && threshold >= 5) { std::vector points; cv::FAST(subImg, points, threshold);