Jump to content

Logo Annotation Guidelines: Difference between revisions

no edit summary
mNo edit summary
No edit summary
Line 4: Line 4:


'''It is extremely important to provide quality annotations, otherwise the predictions won't be qualitative'''.
'''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? ==
== How to? ==
Line 13: Line 15:
* The ''value'' field should only be completed for "brand" and "label" types.
* 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.
* 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: https://hunger.openfoodfacts.org/logos?logo_id=161643
Example: https://hunger.openfoodfacts.org/logos?logo_id=161643
Line 28: Line 31:
* en:gluten-free
* en:gluten-free
* fr:volaille française
* 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.
Line 38: Line 42:
* ''logo_id'': the ID of the logo. If not provided, will be random.
* ''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.
* ''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