Difference between revisions of "Logo Annotation Guidelines"

From Open Food Facts wiki
Jump to navigation Jump to search
Line 1: Line 1:
 
[[Category:Artificial Intelligence]]
 
[[Category:Artificial Intelligence]]
 
[[Category:Hunger Games]]
 
[[Category:Hunger Games]]
[[File:Logo game.png|thumb]]
+
[[File:Logo annotation game.png|alt=|thumb]]
 
 
 
The annotation Web interface is available at: https://hunger.openfoodfacts.org/logos.
 
The annotation Web interface is available at: https://hunger.openfoodfacts.org/logos.
  

Revision as of 10:01, 28 December 2022

The annotation Web interface is available at: https://hunger.openfoodfacts.org/logos.

The goal of the annotation is to provide ground-truth labels that will be used to predict the label of unseen logos.

It is extremely important to provide quality annotations, otherwise the predictions won't be qualitative.

If you're not sure of how you should annotate a logo, ask on the Slack, in the #ai-logo-detection channel.

How to?

1. Open web interface: https://hunger.openfoodfacts.org/logos

2. Select logos to be annotated (click each desired logo with your mouse)

3. Fill value and type corresponding to the selected logos. Be sure to check that the value and type are correct before submitting the annotation :

  • The value field should only be completed for "brand" and "label" types.
  • The value should match one item in the associated taxonomy, otherwise it won't be used for prediction. The field value is lowercased before saving the annotation.
  • Use QR code type for QR codes, Packager code for packager codes (code surrounded by a circle), Brand for brand logos and Label for label logos.

Example (label): https://hunger.openfoodfacts.org/logos?logo_id=161643, here, we should add "Label Rouge" as value and "label" as type.

Example (brand): https://hunger.openfoodfacts.org/logos?logo_id=444915, here we should add "Rachel's" as value and "brand" as type. Please note there is not yet auto-completion for brand. Server-side, the value is transformed into a tag ("rachel-s") and matched against existing brands in database. The brand logo annotation is used only if we found a match.

If more than one logo is visible on the crop, do not annotate it. A flag system should be available in the future to report them.

If the logo is truncated, annotate it anyway if it can still be recognized.

You can click on the blue link on the top-right corner of each logo card. It will open a new tab with this specific logo as reference. It's really useful to find similar logos to annotate.

Query parameters:

  • logo_id: the ID of the logo. If not provided, will be random.
  • count: the number of results to display (default: 25). Useful to annotate many logos at once.

For instance, to display 50 results, use: https://hunger.openfoodfacts.org/logos?count=50

Common labels

Remembering the right label name may be hard sometimes, so here is a list of common label names you will probably see: