From 640e98afcb33f8ced5a5bf8a1e502046b1226428 Mon Sep 17 00:00:00 2001 From: Porush Manjhi <porush.manjhi@gmail.com> Date: Wed, 19 Oct 2022 14:42:50 +0530 Subject: [PATCH] Update api.md Typo correction. --- docs/api.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/api.md b/docs/api.md index f66e359..afb9abd 100644 --- a/docs/api.md +++ b/docs/api.md @@ -231,7 +231,7 @@ Worker.setParameters() set parameters for Tesseract API (using SetVariable()), i | --------------------------- | ------ | ----------------- | ------------------------------------------------------------------------------------------------------------------------------- | | 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 | +| tessedit\_char\_whitelist | string | '' | setting white list characters makes the result only contains these characters, useful if content in image is limited | | preserve\_interword\_spaces | string | '0' | '0' or '1', keeps the space between words | | user\_defined\_dpi | string | '' | Define custom dpi, use to fix **Warning: Invalid resolution 0 dpi. Using 70 instead.** | | tessjs\_create\_hocr | string | '1' | only 2 values, '0' or '1', when the value is '1', tesseract.js includes hocr in the result |