Skip to content

Commit

Permalink
fix: decrease minimum score to leverage nutrition table detections
Browse files Browse the repository at this point in the history
from 0.9 to 0.8
  • Loading branch information
raphael0202 committed Jul 12, 2024
1 parent 4a9e1a6 commit 4a26918
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion robotoff/insights/importer.py
Original file line number Diff line number Diff line change
Expand Up @@ -1156,7 +1156,7 @@ class NutritionImageImporter(InsightImporter):
MIN_NUM_NUTRIENT_VALUES = 3
# Minimum score for nutrition-table object detections to be considered
# valid
NUTRITION_TABLE_MODEL_MIN_SCORE = 0.9
NUTRITION_TABLE_MODEL_MIN_SCORE = 0.8

# Number of pixels we add to enlarge the nutrition image crop.
# Most of the time the crop around the nutrition table is too tight, so
Expand Down

0 comments on commit 4a26918

Please sign in to comment.