ocr-reader-api
- MongoDB
- NodeJS Latest LTS
# 1 - Install [tesseract project] (https://github.com/tesseract-ocr/tessdoc/blob/master/Installation.md)
# FOR LINUX Debian/Ubuntu
sudo apt install tesseract-ocr
# 2 - Install Project Dependencies
npm install
# With nodemon watch
npm run --prefix start:dev:nodemon
# Production mode
npm run start:prod
# With nodemon watch
curl --header "Content-Type: application/json" \
--request POST \
--data '{"imageUrl": "https://i.stack.imgur.com/t3qWG.png"}' \
http://localhost:9011/read
- Check
environments package
# Rename [.env.sample] file to [.env]
# Set Mongo DB URI
MONGO_DB_URI=mongodb://username:password@localhost:27018
- https://github.com/zapolnoch/node-tesseract-ocr
- https://github.com/naptha/tesseract.js
- https://github.com/tesseract-ocr/tessdoc/blob/master/Installation.md
- https://github.com/tesseract-ocr/tesseract/blob/master/doc/tesseract.1.asc#options
- https://tesseract-ocr.github.io/tessdoc/tess3/ControlParams
- Queue implementation.
- Accept multiple Urls.
- API to read the Collection from DB.
- Docker Setup