Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/naptha/tesseract.js.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorJerome Wu <jeromewus@gmail.com>2019-10-03 17:49:50 +0300
committerJerome Wu <jeromewus@gmail.com>2019-10-03 17:49:50 +0300
commit5db60be949cbb1f7f58dcb777d50ac77427c680d (patch)
tree95ab36d9671d89dac4e8296003ce79c804979b30 /docs
parent6021eca27a03bd74c5bac7ca5732d75ec1d8f20b (diff)
Update api.md
Diffstat (limited to 'docs')
-rw-r--r--docs/api.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/api.md b/docs/api.md
index 95c932a..699d9cb 100644
--- a/docs/api.md
+++ b/docs/api.md
@@ -145,7 +145,7 @@ Worker.setParameters() set parameters for Tesseract API (using SetVariable()), i
| name | type | default value | description |
| ---- | ---- | ------------- | ----------- |
-| tessedit\_ocr\_engine\_mode | enum | OEM.LSTM\_ONLY | Check [HERE](https://github.com/tesseract-ocr/tesseract/blob/4.0.0/src/ccstruct/publictypes.h#L268) for definition of each mode |
+| tessedit\_ocr\_engine\_mode | enum | OEM.DEFAULT | Check [HERE](https://github.com/tesseract-ocr/tesseract/blob/4.0.0/src/ccstruct/publictypes.h#L268) for definition of each mode |
| tessedit\_pageseg\_mode | enum | PSM.SINGLE\_BLOCK | Check [HERE](https://github.com/tesseract-ocr/tesseract/blob/4.0.0/src/ccstruct/publictypes.h#L163) for definition of each mode |
| tessedit\_char\_whitelist | string | '' | setting white list characters makes the result only contains these characters, useful the content in image is limited |
| preserve\_interword\_spaces | string | '0' | '0' or '1', keeps the space between words |