Install NodeJS
Install MongoDB
Install RabbitMQ Server
Clone source via git and cd
to folder:
Clone Repository - https://github.com/reecefenwick/tesseract-service.git
Install dependencies via npm:
npm install
Install mocha
globally:
npm install mocha -g
Run the tests
npm test
via node:
node server
via node from /workers directory:
node receive
- API Documentation - http://docs.ocr3.apiary.io/
- Client -Upload file via POST to /job - job _id is returned
- API - adds a message to queue
- Worker - receive the message off the queue
- Worker - processes file and updates database
- Client - Polls via GET to /job/{_id}
- Basic demo has been setup - navigate to http://localhost:3000/demo
- Only images are supported currently - PDF input will come later
- Worker will eventually become its own standalone project