openfoodfacts / openfoodfacts-server

Open Food Facts database, API server and web interface - 🐪🦋 Perl, CSS and JS coders welcome 😊 For helping in Python, see Robotoff or taxonomy-editor
http://openfoodfacts.github.io/openfoodfacts-server/
GNU Affero General Public License v3.0
653 stars 383 forks source link

Find a way to update ingredients / nutrition / packaging photos when we get product photos from GS1 (Agena3000, Equadis) #7050

Open stephanegigandet opened 2 years ago

stephanegigandet commented 2 years ago

Problem

Products sent by GS1 very often include many different views of the product (all faces), but only the main product image is marked, so we only select the front image.

This means we often have updated ingredients / nutrition data with old photos selected, even though we have new photos.

Proposed solution

Ideally, we would have automated cropping and selection.

Alternatives considered

In the mean time, we could add facets when an user uploaded image is selected even though we have high definition product images.

Part of

teolemon commented 2 years ago

We could look for keywords in the uploaded photos and auto-select ? We would leave cropping fine-tuning to later ?

stephanegigandet commented 2 years ago

We could look for keywords in the uploaded photos and auto-select ? We would leave cropping fine-tuning to later ?

That sounds like a reasonable option.

alexgarel commented 9 months ago

Robotoff can detect ingredients and crop them.

For nutrients it seems reasonable to search for words, (without doing any crop).

The problem is to test it's ok.