mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2025-08-02 19:36:15 +08:00
Updated Command Line Usage (markdown)
parent
d4340b689e
commit
15bcf26a51
@ -8,7 +8,7 @@
|
|||||||
C:\msys32\mingw32\bin\tesseract.exe --print-parameters [options...] [configfile...]
|
C:\msys32\mingw32\bin\tesseract.exe --print-parameters [options...] [configfile...]
|
||||||
C:\msys32\mingw32\bin\tesseract.exe imagename|stdin outputbase|stdout [options...] [configfile...]
|
C:\msys32\mingw32\bin\tesseract.exe imagename|stdin outputbase|stdout [options...] [configfile...]
|
||||||
|
|
||||||
OCR options:
|
OCR options:
|
||||||
--tessdata-dir PATH Specify the location of tessdata path.
|
--tessdata-dir PATH Specify the location of tessdata path.
|
||||||
--user-words PATH Specify the location of user words file.
|
--user-words PATH Specify the location of user words file.
|
||||||
--user-patterns PATH Specify the location of user patterns file.
|
--user-patterns PATH Specify the location of user patterns file.
|
||||||
@ -16,9 +16,9 @@ OCR options:
|
|||||||
-c VAR=VALUE Set value for config variables.
|
-c VAR=VALUE Set value for config variables.
|
||||||
Multiple -c arguments are allowed.
|
Multiple -c arguments are allowed.
|
||||||
-psm NUM Specify page segmentation mode.
|
-psm NUM Specify page segmentation mode.
|
||||||
NOTE: These options must occur before any configfile.
|
NOTE: These options must occur before any configfile.
|
||||||
|
|
||||||
Page segmentation modes:
|
Page segmentation modes:
|
||||||
0 Orientation and script detection (OSD) only.
|
0 Orientation and script detection (OSD) only.
|
||||||
1 Automatic page segmentation with OSD.
|
1 Automatic page segmentation with OSD.
|
||||||
2 Automatic page segmentation, but no OSD, or OCR.
|
2 Automatic page segmentation, but no OSD, or OCR.
|
||||||
@ -31,14 +31,13 @@ Page segmentation modes:
|
|||||||
9 Treat the image as a single word in a circle.
|
9 Treat the image as a single word in a circle.
|
||||||
10 Treat the image as a single character.
|
10 Treat the image as a single character.
|
||||||
|
|
||||||
Single options:
|
Single options:
|
||||||
-h, --help Show this help message.
|
-h, --help Show this help message.
|
||||||
--help-psm Show page segmentation modes.
|
--help-psm Show page segmentation modes.
|
||||||
-v, --version Show version information.
|
-v, --version Show version information.
|
||||||
--list-langs List available languages for tesseract engine.
|
--list-langs List available languages for tesseract engine.
|
||||||
--print-parameters Print tesseract parameters to stdout.
|
--print-parameters Print tesseract parameters to stdout.
|
||||||
|
|
||||||
|
|
||||||
# Simplest Invocation
|
# Simplest Invocation
|
||||||
|
|
||||||
# Using One Language
|
# Using One Language
|
||||||
|
Loading…
Reference in New Issue
Block a user