{"id":13459387,"url":"https://github.com/guanshuicheng/invoice","last_synced_at":"2025-05-15T11:02:54.619Z","repository":{"id":38256276,"uuid":"200155602","full_name":"guanshuicheng/invoice","owner":"guanshuicheng","description":"Collaboration with wangxupeng(https://github.com/wangxupeng)","archived":false,"fork":false,"pushed_at":"2024-09-08T13:22:37.000Z","size":7969,"stargazers_count":1889,"open_issues_count":32,"forks_count":456,"subscribers_count":37,"default_branch":"master","last_synced_at":"2025-05-15T11:02:26.483Z","etag":null,"topics":["crnn-ctc","deeplearning","flask","invoice","keras-tensorflow","python3","torch","yolov3"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/guanshuicheng.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-08-02T03:06:41.000Z","updated_at":"2025-05-07T15:28:49.000Z","dependencies_parsed_at":"2024-01-13T14:39:43.975Z","dependency_job_id":"8164fbad-ffa1-4c78-8025-d20118e4c3fb","html_url":"https://github.com/guanshuicheng/invoice","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guanshuicheng%2Finvoice","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guanshuicheng%2Finvoice/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guanshuicheng%2Finvoice/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guanshuicheng%2Finvoice/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/guanshuicheng","download_url":"https://codeload.github.com/guanshuicheng/invoice/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254328385,"owners_count":22052632,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["crnn-ctc","deeplearning","flask","invoice","keras-tensorflow","python3","torch","yolov3"],"created_at":"2024-07-31T09:01:19.615Z","updated_at":"2025-05-15T11:02:54.559Z","avatar_url":"https://github.com/guanshuicheng.png","language":"C","funding_links":[],"categories":["C"],"sub_categories":[],"readme":"# 说明\n- 该项目基于chineseocr https://github.com/chineseocr/chineseocr\n- 商业版本（多模态）合作请联系微信：w1003617636\n- 支持其他的卡证及票据类的高精度识别\n- 支持行业内的数据相关合作，欢迎联系\n\n# 增值税发票识别 \n  增值税发票OCR识别，使用flask微服务架构，识别type：增值税电子普通发票，增值税普通发票，增值税专用发票；识别字段为：发票代码、发票号码、开票日期、校验码、税后金额等。\n  \n  识别type：增值税电子普通发票，增值税普通发票，增值税专用发票；识别字段为：发票代码、发票号码、开票日期、校验码、税后金额等\n## 环境\n   1. python3.5/3.6\n   2. 依赖项安装：pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple \n   3. 有GPU环境的可修改安装requirements.txt对应版本的tensorflow-gpu，config.py文件中控制GPU的开关\n## 模型架构\n    YOLOv3 + CRNN + CTC\n   \n## 模型\n   1. 模型下载地址：链接：https://pan.baidu.com/s/1bjtd3ueiUj3rt16p2_YQ2w\n   2. 将下载完毕的模型文件夹models放置于项目根目录下\n## 服务启动\n   1. python3 app.py\n   2. 端口可自行修改\n   3. 服务调用地址：http://*.*.*.*: [端口号]/invoice-ocr，例：http://127.0.0.1:11111/invoice-ocr\n## 测试demo\n   1. 测试工具：postman，可自行下载安装\n   2. 增值税电子普票测试结果\n   \n![Image text](https://github.com/guanshuicheng/invoice/blob/master/test-invoice/%E7%94%B5%E5%AD%90%E5%8F%91%E7%A5%A8-test.png)\n   \n   3. 增值税专用普票测试结果\n   \n![Image text](https://github.com/guanshuicheng/invoice/blob/master/test-invoice/%E5%A2%9E%E5%80%BC%E7%A8%8E%E4%B8%93%E7%94%A8%E5%8F%91%E7%A5%A8-test.png)\n\n   4. 增值税普通普票测试结果\n\n![Image text](https://github.com/guanshuicheng/invoice/blob/master/test-invoice/%E5%A2%9E%E5%80%BC%E7%A8%8E%E6%99%AE%E9%80%9A%E5%8F%91%E7%A5%A8-test.jpg)\n   \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguanshuicheng%2Finvoice","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fguanshuicheng%2Finvoice","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguanshuicheng%2Finvoice/lists"}