From 343dea189ba555b9782b61da842151d75c40f07d Mon Sep 17 00:00:00 2001 From: Piero Toffanin Date: Sat, 21 Oct 2023 12:21:09 -0400 Subject: [PATCH] Dont iterate --- opensfm/features.py | 1 + 1 file changed, 1 insertion(+) diff --git a/opensfm/features.py b/opensfm/features.py index b9c8c4628..b7919bb7b 100644 --- a/opensfm/features.py +++ b/opensfm/features.py @@ -401,6 +401,7 @@ def extract_features_sift( detector.setDouble("contrastThreshold", sift_peak_threshold) points = detector.detect(image) logger.debug("Found {0} points in {1}s".format(len(points), time.time() - t)) + break # TODO REMOVE! if len(points) < features_count and sift_peak_threshold > 0.0001: sift_peak_threshold = (sift_peak_threshold * 2) / 3 logger.debug("reducing threshold")