From 5db60be949cbb1f7f58dcb777d50ac77427c680d Mon Sep 17 00:00:00 2001 From: Jerome Wu Date: Thu, 3 Oct 2019 22:49:50 +0800 Subject: [PATCH] Update api.md --- docs/api.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 |