ocr-api is API for OCR service with Tesseract
ocr-api is API for OCR service with Tesseract
$ npm install
# development
$ npm run start
# watch mode
$ npm run start:dev
# production mode
$ npm run start:prod
# unit tests
$ npm run test
# e2e tests
$ npm run test:e2e
# test coverage
$ npm run test:cov
docker build -t ocr-api .
docker run -p 3008:3000 ocr-api
docker-compose up --build
更新镜像后重启服务,以使用新版本的镜像。
docker-compose up -d
ocr-api is an MIT-licensed open source project.
- Author - iczp.net
- Website - vvll.net
Nest is MIT licensed.