Nutrition facts table data extraction
Jump to navigation
Jump to search
Introduction
The Nutrition facts table data extraction project aims to automatically extract the nutrition facts values from photos of nutrition facts table.
Extracting nutritional facts from images would allow to fill values when nutritional facts are missing and to check values filled by users.
Data, evaluation and test sets
Data sets
How the model fits in the OFF infrastructure
Approaches
Two approaches have been tested so far:
- Regexes used on the OCR output. A new /predict/nutrient endpoint has been added to Robotoff. This approach works best when nutritional information are not displayed in a table (“text” only).
- A clustering approach that tries to estimate the number of columns and lines of the nutritional tables using K-means or DBSCAN algorithms. Not integrated to Robotoff.
Previous attempts
- Scoring des méthodes de détection de tableaux nutritionnels PDF docx
- Analyse approfondie sur la détection
de tableaux nutritionnels pdf
- Table extraction (V1): https://github.com/openfoodfacts/off-nutrition-table-extractor
- Table extraction (v2): https://github.com/cgandon/openfoodfacts-nutriments