Browse Source

Add Blob in image format

pull/322/head
jeromewu 6 years ago committed by GitHub
parent
commit
e80056d304
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      docs/image-format.md

1
docs/image-format.md

@ -7,6 +7,7 @@ The main Tesseract.js functions (ex. recognize, detect) take an `image` paramete
On a browser, an image can be: On a browser, an image can be:
- an `img`, `video`, or `canvas` element - an `img`, `video`, or `canvas` element
- a `File` object (from a file `<input>`) - a `File` object (from a file `<input>`)
- a `Blob` object
- a path or URL to an accessible image - a path or URL to an accessible image
- a base64 encoded image fits `data:image\/([a-zA-Z]*);base64,([^"]*)` regexp - a base64 encoded image fits `data:image\/([a-zA-Z]*);base64,([^"]*)` regexp

Loading…
Cancel
Save