daybreak-u/chineseocr_lite

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

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 59 minutes ago
Added to GitGenius on September 4th, 2026
Created on February 27th, 2020
Open Issues & Pull Requests: 262 (+0)
GitHub issues: Enabled
Number of forks: 2,275
Total Stargazers: 12,340 (+0)
Total Subscribers: 240 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 1.9 hours
Mean response time: 44.3 days
90th percentile: 300.7 days
Tracked items: 7

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 16
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 540 days
Stale 30+ days: 16
Stale 90+ days: 15

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

No label distribution available yet.

Most active issues this week

No issue events were indexed in the last 7 days.

Detailed Description

ChineseOCR Lite is a lightweight optical character recognition tool designed for detecting and recognizing Chinese text in images.

The tool addresses the need for efficient Chinese OCR on resource-constrained environments by combining three compact neural network models: a text detection model, a text recognition model, and a text orientation classifier. The total model size is approximately 4.7 megabytes. It uses ONNX Runtime for inference on CPU, eliminating the need for GPU acceleration or CUDA dependencies. The project provides both a web service interface built with Tornado and a command-line interface that outputs structured JSON, making it suitable for integration into automated workflows, agent systems, and batch processing tasks.

The tool suits developers who need Chinese OCR capabilities without heavy computational requirements or complex dependencies. It works well for local deployment scenarios where model size and CPU-only inference are advantages. The project provides reference implementations across multiple platforms including C++, Java/Kotlin, Android, and .NET, allowing developers to integrate the same OCR logic into different technology stacks. The web demo offers an accessible entry point for testing, while the CLI mode enables programmatic use through stable JSON output that scripts and agents can parse reliably.

Development activity shows consistent maintenance with regular updates to the codebase and active management of the project structure. The maintainers have organized reference implementations across diverse platforms as independent, self-contained modules rather than a monolithic codebase. Documentation is provided in Chinese with clear examples for each deployment mode, from web service startup to CLI usage patterns. The project includes guidance on proper resource management, recommending that large files be stored in GitHub Releases or object storage rather than committed directly to the repository.