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.