Browse Source

Removed statement that video elements are supported per #647 (#652)

pull/657/head
Balearica 2 years ago committed by GitHub
parent
commit
85e73216be
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      docs/image-format.md

2
docs/image-format.md

@ -5,7 +5,7 @@ Support Format: **bmp, jpg, png, pbm** @@ -5,7 +5,7 @@ Support Format: **bmp, jpg, png, pbm**
The main Tesseract.js functions (ex. recognize, detect) take an `image` parameter, which should be something that is like an image. What's considered "image-like" differs depending on whether it is being run from the browser or through NodeJS.
On a browser, an image can be:
- an `img`, `video`, or `canvas` element
- an `img` or `canvas` element
- a `File` object (from a file `<input>`)
- a `Blob` object
- a path or URL to an accessible image

Loading…
Cancel
Save