Skip to content

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

Notifications You must be signed in to change notification settings

GustavoBonfimS/itt-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published