From e80056d30497b464986f7fad4f085e1c0996bda8 Mon Sep 17 00:00:00 2001 From: jeromewu Date: Tue, 23 Jul 2019 19:14:35 +0800 Subject: [PATCH] Add Blob in image format --- docs/image-format.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/image-format.md b/docs/image-format.md index b5435ff..b9410dd 100644 --- a/docs/image-format.md +++ b/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: - an `img`, `video`, or `canvas` element - a `File` object (from a file ``) +- a `Blob` object - a path or URL to an accessible image - a base64 encoded image fits `data:image\/([a-zA-Z]*);base64,([^"]*)` regexp