guanshuicheng/invoice
guanshuicheng/invoice has 1,981 GitHub stars and 446 forks. GitHot measured +1 in 7 days. Last checked 2026-11-09 22:09 UTC. Last push 2024-09-08.
Collaboration with wangxupeng(https://github.com/wangxupeng)
Measured star growth
- in 24h
- Update delayed
- in 7 days
- +1
- in 15 days
- Update delayed
- in 1 month
- Update delayed
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
Original说明
- 该项目基于chineseocr https://github.com/chineseocr/chineseocr
- 商业版本(多模态)合作请联系微信:w1003617636
- 支持其他的卡证及票据类的高精度识别
- 支持行业内的数据相关合作,欢迎联系
增值税发票识别
增值税发票OCR识别,使用flask微服务架构,识别type:增值税电子普通发票,增值税普通发票,增值税专用发票;识别字段为:发票代码、发票号码、开票日期、校验码、税后金额等。
识别type:增值税电子普通发票,增值税普通发票,增值税专用发票;识别字段为:发票代码、发票号码、开票日期、校验码、税后金额等
环境
- python3.5/3.6
- 依赖项安装:pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple
- 有GPU环境的可修改安装requirements.txt对应版本的tensorflow-gpu,config.py文件中控制GPU的开关
模型架构
YOLOv3 + CRNN + CTC
模型
- 模型下载地址:链接:https://pan.baidu.com/s/1bjtd3ueiUj3rt16p2_YQ2w
- 将下载完毕的模型文件夹models放置于项目根目录下
服务启动
- python3 app.py
- 端口可自行修改
- 服务调用地址:http://...: [端口号]/invoice-ocr,例:http://127.0.0.1:11111/invoice-ocr
测试demo
- 测试工具:postman,可自行下载安装
- 增值税电子普票测试结果

- 增值税专用普票测试结果

- 增值税普通普票测试结果

Explore related projects
codecrafters-io/build-your-own-x
Master programming by recreating your favorite technologies from scratch.
561,674 starspublic-apis/public-apis
A collective list of free APIs
498,067 starsmorluto/rea
Reverse engineer anything with agents, from app behavior down to native binaries.
450,864 starsopenclaw/openclaw
The AI that really does things. Any OS. Any Platform. The lobster way. 🦞
394,313 stars