openfoodfacts / robotoff

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

Extract/add remaining packager codes from UNECE list #1345

Open fabi003 opened 4 months ago

fabi003 commented 4 months ago

See issue 10347 on openfoodfacts-server for details.

Some example images: GGN + RGSEAA (The UNECE PDF states that they have also RSGA, NRS, RSA as code) from Spain, (TRAZ look also like a packager code but is unknown to me): https://images.openfoodfacts.org/images/products/29061983/2.jpg https://images.openfoodfacts.org/images/products/571/287/255/3700/6.jpg

First RGSEAA code is from distributor, 2nd is from packager. https://images.openfoodfacts.org/images/products/571/287/313/2935/3.jpg Two undescribed RGSEAA codes: https://images.openfoodfacts.org/images/products/571/287/667/6399/2.jpg

GGN only: https://images.openfoodfacts.org/images/products/571/287/295/4941/2.jpg https://images.openfoodfacts.org/images/products/571/287/492/8421/1.jpg https://images.openfoodfacts.org/images/products/571/287/295/4941/2.jpg https://images.openfoodfacts.org/images/products/29061211/8.jpg

GGN + RGSEAA (C.I.F is the Spanish tax number): https://images.openfoodfacts.org/images/products/571/287/643/8195/2.jpg

GLN (If I understand it right, you must be a GLN certification site to give out GGN, but I have it only roughly checked): https://images.openfoodfacts.org/images/products/200/901/012/3646/1.jpg

RGSEAA only: https://images.openfoodfacts.org/images/products/571/287/314/6321/1.jpg

KCB (appears as "NL KCB", "KCB" and "KCB NL" on products I have seen until now) and GGN (without space or ":"): https://images.openfoodfacts.org/images/products/571/104/404/9218/5.jpg https://images.openfoodfacts.org/images/products/200/901/022/3322/1.jpg

Two GGN numbers: https://images.openfoodfacts.org/images/products/571/287/492/8438/4.jpg

fabi003 commented 2 months ago

I add some more (interesting) images, maybe they help with writing regex rules.

B.D.N.O.O ITA + GGN: https://images.openfoodfacts.org/images/products/801/656/303/5146/4.jpg

2x BNDOO (IT) + GGN + GLN: https://images.openfoodfacts.org/images/products/805/431/770/0872/3.jpg

GGN printed off-label on the transparent foil: https://images.openfoodfacts.org/images/products/571/287/492/4188/1.jpg

GGN + number without space or colon: https://images.openfoodfacts.org/images/products/29061631/4.jpg

"GGN PACKER" + "GGN GROWER" + TRZ: https://images.openfoodfacts.org/images/products/200/901/029/2526/2.jpg