diff options
author | Jerome Wu <jeromewus@gmail.com> | 2019-10-03 17:49:50 +0300 |
---|---|---|
committer | Jerome Wu <jeromewus@gmail.com> | 2019-10-03 17:49:50 +0300 |
commit | 5db60be949cbb1f7f58dcb777d50ac77427c680d (patch) | |
tree | 95ab36d9671d89dac4e8296003ce79c804979b30 /docs | |
parent | 6021eca27a03bd74c5bac7ca5732d75ec1d8f20b (diff) |
Update api.md
Diffstat (limited to 'docs')
-rw-r--r-- | docs/api.md | 2 |
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 | |