Jump to content

Data fields: Difference between revisions

→‎Ingredients: add taxonomy
(Add Ingredients field + substances and traces enhancement)
(→‎Ingredients: add taxonomy)
Line 57: Line 57:
* etc.
* etc.
Thanks to automatic Optical Characters Recognition (OCR), this field can be filled by softwares. But OCR is not always good, and you should always verify the result.
Thanks to automatic Optical Characters Recognition (OCR), this field can be filled by softwares. But OCR is not always good, and you should always verify the result.
Ingredients analysis also produce an array of all ingredients which allows translation in other languages. To allow analysis and translation, Open Food Facts community [https://github.com/openfoodfacts/openfoodfacts-server/blob/master/taxonomies/ingredients.txt has build a taxonomy]. You can contribute to it.


In the database, this field is called <code>ingredients_[country code]</code>.
In the database, this field is called <code>ingredients_[country code]</code>.


See [https://github.com/openfoodfacts/openfoodfacts-server/issues?q=is%3Aissue+is%3Aopen+ingredients+label%3Aingredients issues related to <code>ingredients</code>].
See [https://github.com/openfoodfacts/openfoodfacts-server/issues?q=is%3Aissue+is%3Aopen+ingredients+label%3Aingredients issues related to <code>ingredients</code>].


==== Substances or products causing allergies or intolerances ====
==== Substances or products causing allergies or intolerances ====