Changes

Jump to navigation Jump to search
1,853 bytes added ,  15:44, 7 November 2017
Created page with "DRAFT We introduce a new concept: "Candidate ingredient list". Those are ingredients list from mobile, generated by OCR, more or less trustworthy, that are not displayed on..."
DRAFT


We introduce a new concept: "Candidate ingredient list". Those are ingredients list from mobile, generated by OCR, more or less trustworthy, that are not displayed on the Web version, nor in the ingredient list in the API, but are available in a specific API field.
It is strongly discouraged to use it as a substitute for ingredients lists. People may use it for gamification: get your users to check one another's contributions..

=== OCR Raw and Refined Data ===

<pre>ingredients_ocr_supporting_image</pre>

Example: 3439497014134_fr_ingredients.png Should the same as the image name you sent to Open Food Facts.

<pre>ingredients_raw_result_from_ocr</pre>

The output of the OCR, as you received it, without any user modifications.
Ingredients - LAut, O€ufs, sucre. Informations nutritionnelles

<pre>ingredients_candidate_from_ocr</pre>

Ingredients:Lait, Oeufs, sucre.

(Note: The ideal list is: Lait, Œufs, sucre.)

=== Context elements ===

<pre>ocr_engine_used</pre>

Examples: "Google Cloud Vision V1, Microsoft Vision API, Tesseract 0.88 without dictionnary"

<pre>app_name</pre>

Examples: "Ficus"

<pre>app_version</pre>

Examples: "1.0"

<pre>app_os</pre>

Examples: "iOS"

<pre>proofreading_duration</pre>

Examples: "45s"



=== Elements on the user's trustworthiness ===

<pre>user_trusted_by_app</pre>

Boolean: true, false

<pre>user_hashed_id</pre>

example: Wi80Nkc1OHhpdlEwbDhjVDVTUE84OE5ObDVLd1V6bU1KZE1xSVE9PQ

<pre>number_of_past_edits</pre>

example: 3, 176

<pre>user_country_from_ip</pre>

example: France, Germany, United States

<pre>user_ip</pre>
example: 66.249.83.204
(Note: you need consent from your users to send us their IP address. We won't do anything with it but convert it into a country, and store it in the API logs. If you have any doubts, please install your own copy of a IP2Country service)

Navigation menu