All Projects → DayBreak-u → Chineseocr_lite

DayBreak-u / Chineseocr_lite

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

Programming Languages

C++
36643 projects - #6 most used programming language
kotlin
9241 projects
Visual Basic .NET
514 projects
C#
18002 projects
python
139335 projects - #7 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to Chineseocr lite

Tnn
TNN: developed by Tencent Youtu Lab and Guangying Lab, a uniform deep learning inference framework for mobile、desktop and server. TNN is distinguished by several outstanding features, including its cross-platform capability, high performance, model compression and code pruning. Based on ncnn and Rapidnet, TNN further strengthens the support and …
Stars: ✭ 3,257 (-60.74%)
Mutual labels:  ocr, ncnn
Ultra Light Fast Generic Face Detector 1mb
💎1MB lightweight face detection model (1MB轻量级人脸检测模型)
Stars: ✭ 6,182 (-25.47%)
Mutual labels:  ncnn
Anti Webspider
Web 端反爬技术方案
Stars: ✭ 486 (-94.14%)
Mutual labels:  ocr
Tr
Free Offline OCR 离线的中文文本检测+识别SDK
Stars: ✭ 598 (-92.79%)
Mutual labels:  ocr
Fots.pytorch
FOTS Pytorch Implementation
Stars: ✭ 513 (-93.82%)
Mutual labels:  ocr
Trwebocr
开源易用的中文离线OCR,识别率媲美大厂,并且提供了易用的web页面及web的接口,方便人类日常工作使用或者其他程序来调用~
Stars: ✭ 618 (-92.55%)
Mutual labels:  ocr
East
This is a pytorch re-implementation of EAST: An Efficient and Accurate Scene Text Detector.
Stars: ✭ 478 (-94.24%)
Mutual labels:  ocr
Image Text Localization Recognition
A general list of resources to image text localization and recognition 场景文本位置感知与识别的论文资源与实现合集 シーンテキストの位置認識と識別のための論文リソースの要約
Stars: ✭ 788 (-90.5%)
Mutual labels:  ocr
Evil
Optical Character Recognition in Swift for iOS&macOS. 银行卡、身份证、门牌号光学识别
Stars: ✭ 648 (-92.19%)
Mutual labels:  ocr
Card.io Android Source
The open-source code for the card.io-Android-SDK: provides fast, easy credit card scanning in mobile apps
Stars: ✭ 549 (-93.38%)
Mutual labels:  ocr
R2cnn faster Rcnn tensorflow
Rotational region detection based on Faster-RCNN.
Stars: ✭ 548 (-93.39%)
Mutual labels:  ocr
Millionheroassistant
百万 / 冲顶 / 芝士 / UC / 万能 答题助手(知识图谱更加专业,自动推荐答案, Android手机自动屏幕适配,模拟器支持,多开)
Stars: ✭ 524 (-93.68%)
Mutual labels:  ocr
Aster
Recognizing cropped text in natural images.
Stars: ✭ 626 (-92.45%)
Mutual labels:  ocr
Crow Translate
A simple and lightweight translator that allows to translate and speak text using Google, Yandex and Bing.
Stars: ✭ 503 (-93.94%)
Mutual labels:  ocr
Ailab
Experience, Learn and Code the latest breakthrough innovations with Microsoft AI
Stars: ✭ 6,896 (-16.87%)
Mutual labels:  ocr
Seglink
An Implementation of the seglink alogrithm in paper Detecting Oriented Text in Natural Images by Linking Segments
Stars: ✭ 479 (-94.23%)
Mutual labels:  ocr
Scanner
二维码/条码识别、身份证识别、银行卡识别、车牌识别、图片文字识别、黄图识别、驾驶证(驾照)识别
Stars: ✭ 547 (-93.41%)
Mutual labels:  ocr
Receipt Parser Legacy
A supermarket receipt parser written in Python using tesseract OCR
Stars: ✭ 614 (-92.6%)
Mutual labels:  ocr
Gimagereader
A Gtk/Qt front-end to tesseract-ocr.
Stars: ✭ 786 (-90.52%)
Mutual labels:  ocr
Keras Ocr
A packaged and flexible version of the CRAFT text detector and Keras CRNN recognition model.
Stars: ✭ 782 (-90.57%)
Mutual labels:  ocr

chineseocr_lite 的 onnx 推理, 部署简单

原始项目分支(torch推理,ncnn推理等):master

环境

  • python3.6

  • linux/macos/windows

web服务启动

cd chineseocr_lite## 进入chineseocr目录
python backend/main.py 

在线演示地址: chineseocr_lite

web api

POST 方式调用, 请求地址: http://www.cnocrlite.com/api/tr-run/ 请求参数:

image : 图片的base64

language_type: 语言 支持 "en","ja","zh","kr python示例:

import base64
url = "http://www.cnocrlite.com/api/tr-run/"
f = open(img, "rb")
base64_data = base64.b64encode(f.read()).decode("utf-8")
data = {
  "image": base64_data,
  "language_type": "ch", # 支持 "en","ja","ch","kr"
}

resp = requests.post(url, data=data)
resp = resp.text
print(resp)

识别结果展示

avatar avatar

参考

  1. TrWebOCR https://github.com/alisen39/TrWebOCR

QQ群

一群已满

二群已满

三群: 904091319

以下范例项目是参考Python代码翻译为各种语言的Demo,仅供参考

** 注意:以下各种demo均相互独立,只是同一个程序的不同版本 **

如果不想自己整合依赖库的话,以下demo的完整源码工程项目,请到Q群共享里自行下载

C++ Demo

  • onnxruntime C++ demo,支持Windows、linux、macOS,目前仅支持cpu计算;
  • ncnn C++ demo,支持Windows、linux、macOS,分为cpu版与gpu版,gpu版使用ncnn+vulkan来支持gpu加速;

Jvm Demo

  • onnxruntime jvm demo: 以onnxruntime C++为基础,编译成jni供java或kotlin调用;
  • ncnn jvm demo: 以ncnn C++为基础,编译成jni供java或kotlin调用,同样分为cpu版与gpu版;

Android Demo

  • onnxruntime android demo: 以onnxruntime C++为基础,整合为一个独立的android模块供app调用;
  • ncnn jvm android demo: 以ncnn C++为基础,整合为一个独立的android模块供app调用,同样分为cpu版与gpu版;

.Net Demo

  • onnxruntime c# demo: 完全以C#编写的onnxruntime demo;
  • onnxruntime vb.net demo: 完全以VB编写的onnxruntime demo;

第三方Demo

  • TNN中文字符ocr: 根据本项目,基于TNN实现的轻量级中文字符ocr demo,支持iOS和Android系统,凭借TNN优化的CPU(ARMv7、ARMv8)和GPU(OpenCL、Metal)后端加速模型计算。

Android识别展示

avatar avatar avatar

.NetDemo识别展示

avatar

第三方 TNN Demo识别展示

avatar avatar avatar

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].