Tesseract 引擎翻译

时间:2022-10-04 03:54:22

Tesseract 引擎翻译

Category: 图像识别
Last Edited: Sep 17, 2018 10:29 AM
Tags: tesseract,字符识别,翻译

1.英文原文(中文翻译)

OCR options:(OCR选项)
--tessdata-dir PATH Specify the location of tessdata path(指定tessdata路径的位置).
--user-words PATH Specify the location of user words file (指定用户词文件的位置).
--user-patterns PATH Specify the location of user patterns file (指定用户模式文件的位置).
-l LANG[+LANG] Specify language(s) used for OCR (指定用于OCR的语言).
-c VAR=VALUE Set value for config variables Multiple -c arguments are allowed.(配置变量的设置值。 -c允许多个参数。).
--psm NUM Specify page segmentation mode (指定页面分段模式).
--oem NUM Specify OCR Engine mode (指定OCR引擎模式).
NOTE: These options must occur before any configfile.

Page segmentation modes:
0 Orientation and script detection (OSD) only (仅限方向和脚本检测(OSD)。).
1 Automatic page segmentation with OSD (使用OSD自动分页).
2 Automatic page segmentation, but no OSD, or OCR (自动页面分割,但没有OSD或OCR).
3 Fully automatic page segmentation, but no OSD. (Default) 全自动页面分割,但没有OSD(默认)
4 Assume a single column of text of variable sizes.(假设一列可变大小的文本)
5 Assume a single uniform block of vertically aligned text.(假设一个垂直对齐文本的统一块)
6 Assume a single uniform block of text.(假设一个统一的文本块)
7 Treat the image as a single text line.(将图像视为单个文本行)
8 Treat the image as a single word.(将图像视为单个单词)
9 Treat the image as a single word in a circle.(将图像视为圆形中的单个单词。)
10 Treat the image as a single character.(将图像视为单个字符。)
11 Sparse text. Find as much text as possible in no particular order.(稀疏文字。找到尽可能多的文本,没有特定的顺序。)
12 Sparse text with OSD.(带OSD的稀疏文本)
13 Raw line. Treat the image as a single text line,bypassing hacks that are Tesseract-specific.(将图像视为单个文本行)

***OCR Engine modes:***
0 Original Tesseract only.
1 Cube only.
2 Tesseract + cube.
3 Default, based on what is available.

***Single options:***
-h, --help Show this help message.
--help-psm Show page segmentation modes.
--help-oem Show OCR Engine modes.
-v, --version Show version information.
--list-langs List available languages for tesseract engine.
--print-parameters Print tesseract parameters to stdout.