# DayBreak-u/chineseocr_lite

超轻量级中文ocr，支持竖排文字识别, 支持ncnn、mnn、tnn推理 ( dbnet(1.8M) + crnn(2.5M) + anglenet(378KB)) 总模型仅4.7M

Repository: https://github.com/DayBreak-u/chineseocr_lite
Canonical: https://ross.abutalabs.com/products/chineseocr_lite
Language: C++
License: GPL-2.0
License Family: copyleft
Topics: ncnn, ocr, pytorch
Last push: 2026-05-18T09:55:53+00:00

## Health v2 (maintenance only)
Score: 70/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 83, release rhythm 35, longevity 100
- inputs: {"age_days": 2379, "days_push": 107, "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 12339, forks 2276 (observed 2026-08-28T04:10:52.416612+00:00)

## What it is
An ultra-lightweight Chinese OCR toolkit combining DBNet text detection, CRNN text recognition, and an angle classifier, with total model size of only 4.7M. It runs on CPU via ONNX Runtime and provides a Python CLI, a Tornado web service, and reference demos for C++, JVM, Android, and .NET.

## Use cases
- extract Chinese text from images
- recognize vertical Chinese text in photos
- run OCR on CPU without a GPU
- batch-OCR images from scripts or agents with JSON output
- embed OCR into Android or C++ applications
- self-host a web OCR service

## When to choose
- you need Chinese OCR with a very small model footprint
- you must run OCR on CPU-only machines or mobile devices
- you want a CLI with stable JSON output for automation
- you need multi-platform demos (C++, JVM, Android, .NET)

## When to avoid
- you need high-accuracy OCR for complex layouts or many languages
- you require GPU-accelerated large-scale OCR pipelines
- you need handwriting recognition or table extraction
- GPL-2.0 licensing is incompatible with your project

## Facets
- artifact type: library
- maturity: active
- function: ocr, image-processing, machine-learning, http-server, cli
- domain: computer-vision, image-processing, developer-tools
- platform: python, cpp, jvm, dotnet, cross-platform, windows
- tags: chinese-ocr, onnx-runtime, ncnn, dbnet, crnn, lightweight-models, vertical-text, text-detection, text-recognition, natural-language-processing, android, linux, macos

## Member repositories
- DayBreak-u/chineseocr_lite (main) score 70

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:52.416612+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-29T17:14:08.736495+00:00, confidence not recorded.
  - readme: https://github.com/DayBreak-u/chineseocr_lite (fetched 2026-08-28T04:10:52.416612+00:00, sha cdabf9ed91aa)
- Data as of 2026-08-30T08:39:29.467469+00:00.
