From 4a26918081215e1781a5f4c6ce2b97df807462f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Bournhonesque?= Date: Fri, 12 Jul 2024 10:58:06 +0200 Subject: [PATCH] fix: decrease minimum score to leverage nutrition table detections from 0.9 to 0.8 --- robotoff/insights/importer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/robotoff/insights/importer.py b/robotoff/insights/importer.py index 4f4ef7b8e3..d1f8aa516a 100644 --- a/robotoff/insights/importer.py +++ b/robotoff/insights/importer.py @@ -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