Browse Source

Update api.md, fix typos

develop
jeromewu 6 years ago committed by GitHub
parent
commit
697b8bf79a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      docs/api.md

4
docs/api.md

@ -1,6 +1,6 @@ @@ -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 @@ -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.

Loading…
Cancel
Save