Skip to content

Latest commit

 

History

History
20 lines (15 loc) · 1001 Bytes

README.md

File metadata and controls

20 lines (15 loc) · 1001 Bytes

Image To Text api

Convert text within images to plain text, send the image to the Endpoint in a formData and get the text back within the image.

Using Tesseract OCR in node with Express

Usage

at the moment this API dosen't support array of images because the Tesseract is difficult to recognize array of images, if you want that, do by yourself and send a pull request :)

const data = new FormData();
      data.append('lang', lang);
      acceptedFiles.forEach((image) => {
      data.append('images', image);
});

App in heroku
Send a form data to /images containing a field "lang" with the language text within the image and other field containing the file (PNG or JPG)

See the all languages in Tesseract languages supported