Difference between revisions of "OCR"
Jump to navigation
Jump to search
(Created page with "== Status == == Roadmap == OCR/Roadmap") |
|||
(6 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | == | + | {{Box |
+ | | 1 = Slack channel | ||
+ | | 2 = [https://openfoodfacts.slack.com/messages/ocr/ #ocr] | ||
+ | }} | ||
+ | == Current state == | ||
+ | * On-demand OCR extraction of ingredients using Tesseract 2 (production) and Tesseract 3 (.net) and Google Cloud Vision | ||
+ | * Uses the French dictionary for all languages | ||
+ | <pre> | ||
+ | -- /home/off-fr/cgi# grep get_ocr * | ||
+ | Ingredients.pm:use Image::OCR::Tesseract 'get_ocr'; | ||
+ | Ingredients.pm: $text = decode utf8=>get_ocr($image,undef,'fra'); | ||
+ | </pre> | ||
+ | * Has a small custom dictionary for French ( /usr/share/tesseract-ocr/tessdata/fra.user-words) | ||
+ | **https://code.google.com/p/tesseract-ocr/wiki/FAQ#How_do_I_provide_my_own_dictionary | ||
+ | |||
== Roadmap == | == Roadmap == | ||
[[OCR/Roadmap]] | [[OCR/Roadmap]] | ||
+ | == Exploiting OCR results == | ||
+ | [[OCR/Results]] | ||
+ | [[Category:OCR]] | ||
+ | [[Category:Artificial Intelligence]] |
Revision as of 13:43, 19 February 2018
|
---|
Current state
- On-demand OCR extraction of ingredients using Tesseract 2 (production) and Tesseract 3 (.net) and Google Cloud Vision
- Uses the French dictionary for all languages
-- /home/off-fr/cgi# grep get_ocr * Ingredients.pm:use Image::OCR::Tesseract 'get_ocr'; Ingredients.pm: $text = decode utf8=>get_ocr($image,undef,'fra');
- Has a small custom dictionary for French ( /usr/share/tesseract-ocr/tessdata/fra.user-words)