openfoodfacts / robotoff

🤖 Real-time and batch prediction service for Open Food Facts
https://openfoodfacts.github.io/robotoff/
GNU Affero General Public License v3.0
80 stars 56 forks source link

Add support to flashtext USDA packager codes #466

Closed teolemon closed 1 year ago

teolemon commented 3 years ago

What

Part of

GabrielBeFr commented 2 years ago

I pushed my modifications to solve this problem about a week ago but, after executing the ocr prediction on a dump of ocr results, I realised the amount of false positive was way too high. I will change my REGEX to make the search more precise. I will also put the Automatic processing to False in order to avoid any problem if we were to put this new feature in prod. @teolemon what do you think of limitating the search of USDA packager codes to US products ? Do you know if non-US product can also have USDA packager codes ?