An open API service indexing awesome lists of open source software.

https://github.com/selendra/zeetomic-ocr

Zeetomic Object Character Recognition (ZOCR)
https://github.com/selendra/zeetomic-ocr

docker-compose koajs ocr pm2

Last synced: 2 months ago
JSON representation

Zeetomic Object Character Recognition (ZOCR)

Awesome Lists containing this project

README

          

### ZEETOMIC OCR
Zeetomic Object Character Recognition (ZOCR) is a API server run on koajs and OCR at background.

ZOCR pack as container wich is ready for deployment.

### How to use API
Download or clone the source code from this reposity and make sure the local machine install docker.

Go to directory and start the docker compose

`$docker-compose up`

when the terminal occure

`OCR Server started at 9002`

The the ZOCR Start successfully

`curl --request POST \
--url http://localhost:9002/pushimage \
--header 'content-type: application/json' \
--data '{"imguri":"https://i.ibb.co/r69pMmx/ocr.png",
"amount":"Grand Total($)",
"trxdate":"Bill Date"}' `

Expected result should display like below

`{
"data": {
"idx": 11,
"trxdate": "Bill Date: 15/08/19 03:52 pm",
"amount": "Grand Total($) 7.70"
}
}`