Jump to content

OCR: Difference between revisions

34 bytes removed ,  21 March 2022
no edit summary
(More up to date informations)
No edit summary
Line 7: Line 7:
* Each photo, when uploaded is sent to the OCR<ref group="Code">See [https://github.com/openfoodfacts/openfoodfacts-server/blob/main/scripts/process_new_image_off.sh process_new_image_off.sh]  called through [https://github.com/openfoodfacts/openfoodfacts-server/blob/main/conf/incron.conf incron]</ref>
* Each photo, when uploaded is sent to the OCR<ref group="Code">See [https://github.com/openfoodfacts/openfoodfacts-server/blob/main/scripts/process_new_image_off.sh process_new_image_off.sh]  called through [https://github.com/openfoodfacts/openfoodfacts-server/blob/main/conf/incron.conf incron]</ref>
* you can retrieve the OCR file associated to a photo replacing the <code>.jpg</code> extension in original image by <code>.json</code>
* you can retrieve the OCR file associated to a photo replacing the <code>.jpg</code> extension in original image by <code>.json</code>
* some old photos might have [[OCR#Tesseract|Tesseract OCR]] output


== Archive ==
== Archive ==


=== Tesseract ===
=== Tesseract ===
Previously we where using tesseract
Previously we were using Tesseract on demand (but not storing output)
* Uses the French dictionary for all languages
* Uses the French dictionary for all languages
<pre>
<pre>