项目
在 GitHub 查看
otiai10/ocrserver
关于
简单的 OCR API 服务器,使用 Docker 或部署到 Heroku 都非常方便。
系统与基础设施实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文ocrserver
Simple OCR server, as a small working sample for gosseract.
Try now here https://ocr-example.herokuapp.com/, and deploy your own now.
Deploy to Heroku
# Get the code
% git clone [email protected]:otiai10/ocrserver.git
% cd ocrserver
# Make your app
% heroku login
% heroku create
# Deploy the container
% heroku container:login
% heroku container:push web
# Enjoy it!
% heroku open
cf. heroku cli
Quick Start
Ready-Made Docker Image
% docker run -p 8080:8080 otiai10/ocrserver
# open http://localhost:8080
cf. docker
Development with Docker Image
% docker-compose up
# open http://localhost:8080
You need more languages?
% docker-compose build --build-arg LOAD_LANG=rus
% docker-compose up
cf. docker-compose
Manual Setup
If you have tesseract-ocr and library files on your machine
% go get github.com/otiai10/ocrserver/...
% PORT=8080 ocrserver
# open http://localhost:8080
cf. gosseract
Documents
探索相关项目
加载中…
