# guanshuicheng/invoice

Collaboration with wangxupeng(https://github.com/wangxupeng)

Repository: https://github.com/guanshuicheng/invoice
Canonical: https://ross.abutalabs.com/products/guanshuicheng-invoice
Language: C
License: MIT
License Family: permissive
Topics: python3, invoice, yolov3, crnn-ctc, keras-tensorflow, torch, deeplearning, flask
Last push: 2024-09-08T13:22:37+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 2588, "days_push": 724, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1982, forks 450 (observed 2026-08-28T04:06:01.864367+00:00)

## What it is
A Flask-based OCR microservice that recognizes Chinese VAT invoices (electronic, regular, and special) using a YOLOv3 + CRNN + CTC deep learning pipeline. It extracts fields such as invoice code, invoice number, date, check code, and pre-tax amount from invoice images.

## Use cases
- extract fields from Chinese VAT invoice images
- ocr service for electronic invoice recognition
- automate invoice data entry from scanned receipts
- self-hosted invoice ocr api
- recognize invoice code number date and amount from photos

## When to choose
- you need to digitize Chinese VAT invoices automatically
- you want a self-hosted OCR microservice with a simple HTTP API
- you have GPU resources and want a proven YOLOv3+CRNN pipeline

## When to avoid
- you need OCR for non-Chinese or non-invoice documents
- you want a maintained solution with modern model architectures
- you cannot obtain the pretrained models from the external download link

## Facets
- artifact type: service
- maturity: maintenance
- function: ocr, computer-vision, http-server, machine-learning
- domain: computer-vision, fintech, deep-learning
- platform: python
- tags: invoice-ocr, yolov3, crnn, ctc, keras, flask, chinese-ocr, vat-invoice, docker, linux, gpu

## Member repositories
- guanshuicheng/invoice (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:01.864367+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:03:32.174445+00:00, confidence not recorded.
  - readme: https://github.com/guanshuicheng/invoice (fetched 2026-08-28T04:06:01.864367+00:00, sha db6e04706b9c)
- Data as of 2026-08-30T08:39:29.467469+00:00.
