Skip to content

sam-artuso/convert-image-to-text-api

This branch is up to date with evanjmg/convert-image-to-text-api:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

35ea165 · Mar 17, 2017

History

6 Commits
Mar 17, 2017
Mar 17, 2017
Mar 17, 2017
Mar 17, 2017
Mar 17, 2017
Mar 17, 2017
Mar 17, 2017
Mar 17, 2017
Mar 17, 2017

Repository files navigation

OCR Node - Tesseract API Example

A simple api to convert images to text Git clone this repo and: npm install

Also install the ocr engine: brew install tesseract

Run locally: npm run watch

To use:

go to postman app and do a POST request to

http://localhost:5000/api/ocr

with the body { file: 'data:image/jpeg;base64,iVBORw0KGgoAAAANSUhEUgAAA..kJggg==' }

convert your image to base64 here https://www.base64-image.de/ and just chuck it in the body above

About

A Basic NodeJS api to convert images to text using tesseract

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%