From 697b8bf79a48d4da02fe49aa40043f71fa3e0348 Mon Sep 17 00:00:00 2001 From: jeromewu Date: Fri, 10 May 2019 08:41:07 +0800 Subject: [PATCH] Update api.md, fix typos --- docs/api.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/api.md b/docs/api.md index bce775e..39a8cba 100644 --- a/docs/api.md +++ b/docs/api.md @@ -1,6 +1,6 @@ # API -## Tesseract.recognize(image, lang, [, options]) -> [TesseractJob](#tesseractjob) +## TesseractWorker.recognize(image, lang, [, options]) -> [TesseractJob](#tesseractjob) Figures out what words are in `image`, where the words are in `image`, etc. > Note: `image` should be sufficiently high resolution. > Often, the same image will get much better results if you upscale it before calling `recognize`. @@ -34,7 +34,7 @@ worker }); ``` -## Tesseract.detect(image) -> [TesseractJob](#tesseractjob) +## TesseractWorker.detect(image) -> [TesseractJob](#tesseractjob) Figures out what script (e.g. 'Latin', 'Chinese') the words in image are written in.