Changes

Jump to navigation Jump to search
Line 21: Line 21:  
* 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.
 
* 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: https://hunger.openfoodfacts.org/logos?logo_id=161643
+
Example (label): https://hunger.openfoodfacts.org/logos?logo_id=161643, here, we should add "Label Rouge" as value and "label" as type.
Here, we should add "label rouge" as value and "label" as type. Server-side, the value is transformed into a tag ("label-rouge") and matched against the taxonomy to associate the real taxonomy ID to the value ("en:label-rouge").
     −
Lang prefixes ("en:", "fr:") should not be added, otherwise the taxonomy match will fail.
+
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.
 
  −
Example of '''valid''' values:
  −
* gluten-free
  −
* volaille française
  −
* auchan
  −
* reflets de france
  −
 
  −
Example of '''invalid''' values:
  −
* en:gluten-free
  −
* fr:volaille française
  −
* ab bio (not in taxonomy, the right value is ''ab agriculture biologique'')
      
'''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 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.

Navigation menu