diff --git a/form/feature/extraction.tpp b/form/feature/extraction.tpp index bf91921..2e3536b 100644 --- a/form/feature/extraction.tpp +++ b/form/feature/extraction.tpp @@ -395,6 +395,9 @@ void FeatureExtractor::extract_point(const size_t §or_start_point, if (num_sector_point_features > params.point_feats_per_sector) break; } + // Early exit if we have found enough features + if (num_sector_point_features > params.point_feats_per_sector) + break; } }