All Projects → benjaminwan → OcrLiteAndroidNcnn

benjaminwan / OcrLiteAndroidNcnn

Licence: Apache-2.0 license
Chineseocr Lite Android Onnx To Ncnn Demo,超轻量级中文OCR Android Demo,支持ncnn推理

Programming Languages

C++
36643 projects - #6 most used programming language
kotlin
9241 projects
java
68154 projects - #9 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to OcrLiteAndroidNcnn

Deepstream Project
This is a highly separated deployment project based on Deepstream , including the full range of Yolo and continuously expanding deployment projects such as Ocr.
Stars: ✭ 120 (+179.07%)
Mutual labels:  crnn, dbnet
Captcha break
验证码识别
Stars: ✭ 2,268 (+5174.42%)
Mutual labels:  crnn
Text renderer
Generate text images for training deep learning ocr model
Stars: ✭ 931 (+2065.12%)
Mutual labels:  crnn
Easyocr
Ready-to-use OCR with 80+ supported languages and all popular writing scripts including Latin, Chinese, Arabic, Devanagari, Cyrillic and etc.
Stars: ✭ 13,379 (+31013.95%)
Mutual labels:  crnn
Crnn
CRNN(Convolutional Recurrent Neural Network), with optional STN(Spatial Transformer Network), in Tensorflow, multi-gpu supported.
Stars: ✭ 34 (-20.93%)
Mutual labels:  crnn
Paddleocr
Awesome multilingual OCR toolkits based on PaddlePaddle (practical ultra lightweight OCR system, support 80+ languages recognition, provide data annotation and synthesis tools, support training and deployment among server, mobile, embedded and IoT devices)
Stars: ✭ 18,084 (+41955.81%)
Mutual labels:  crnn
Tr
Free Offline OCR 离线的中文文本检测+识别SDK
Stars: ✭ 598 (+1290.7%)
Mutual labels:  crnn
Pytorchocr
基于pytorch的ocr算法库,包括 psenet, pan, dbnet, sast , crnn
Stars: ✭ 198 (+360.47%)
Mutual labels:  crnn
Text Detector
Tool which allow you to detect and translate text.
Stars: ✭ 173 (+302.33%)
Mutual labels:  crnn
Sightseq
Computer vision tools for fairseq, containing PyTorch implementation of text recognition and object detection
Stars: ✭ 116 (+169.77%)
Mutual labels:  crnn
Modelfeast
Pytorch model zoo for human, include all kinds of 2D CNN, 3D CNN, and CRNN
Stars: ✭ 116 (+169.77%)
Mutual labels:  crnn
Pottan Ocr
A stupid OCR for malayalam language
Stars: ✭ 39 (-9.3%)
Mutual labels:  crnn
Tensorrtx
Implementation of popular deep learning networks with TensorRT network definition API
Stars: ✭ 3,456 (+7937.21%)
Mutual labels:  crnn
Keras Textclassification
中文长文本分类、短句子分类、多标签分类、两句子相似度(Chinese Text Classification of Keras NLP, multi-label classify, or sentence classify, long or short),字词句向量嵌入层(embeddings)和网络层(graph)构建基类,FastText,TextCNN,CharCNN,TextRNN, RCNN, DCNN, DPCNN, VDCNN, CRNN, Bert, Xlnet, Albert, Attention, DeepMoji, HAN, 胶囊网络-CapsuleNet, Transformer-encode, Seq2seq, SWEM, LEAM, TextGCN
Stars: ✭ 914 (+2025.58%)
Mutual labels:  crnn
Deep Text Recognition Benchmark
Text recognition (optical character recognition) with deep learning methods.
Stars: ✭ 2,665 (+6097.67%)
Mutual labels:  crnn
Vietnamese handwriting recognition
[DEPRECATED] Vietnamese Handwriting Recognition with CRNN and CTC Loss
Stars: ✭ 23 (-46.51%)
Mutual labels:  crnn
Crnn With Stn
implement CRNN in Keras with Spatial Transformer Network
Stars: ✭ 83 (+93.02%)
Mutual labels:  crnn
Crnn.pytorch
crnn实现水平和垂直方向中文文字识别, 提供在3w多个中文字符训练的水平识别和垂直识别的预训练模型; 欢迎关注,试用和反馈问题... ...
Stars: ✭ 145 (+237.21%)
Mutual labels:  crnn
Crnn Audio Classification
UrbanSound classification using Convolutional Recurrent Networks in PyTorch
Stars: ✭ 235 (+446.51%)
Mutual labels:  crnn
Ocr.pytorch
A pure pytorch implemented ocr project including text detection and recognition
Stars: ✭ 196 (+355.81%)
Mutual labels:  crnn

OcrLiteAndroidNcnn

Issue Star

目录

联系方式

  • QQ①群:994929053(满)
  • QQ②群:820132154(满)
  • QQ③群:904091319(满)
  • QQ④群:615877948(满)
  • QQ⑤群:185905924(满)
  • QQ⑥群:628010752

项目完整源码

  • 整合好源码和依赖库的完整工程项目,可到Q群共享内下载或Release下载,以Project开头的压缩包文件为源码工程,例:Project_OcrLiteAndroidNcnn-版本号.7z
  • 如果想自己折腾,则请继续阅读本说明

APK下载

  • 编译好的demo apk,可以在release中下载,或者Q群共享内下载,文件名例:OcrLiteAndroidNcnn-版本号-cpu-release.apk
  • 或者Github下载

简介

Chineseocr Lite Android Ncnn Demo,超轻量级中文OCR Android Demo,支持ncnn推理 (DBNet+AngleNet+CRNN) 把onnx模型格式转为ncnn格式,并使用ncnn推理框架进行OCR识别。 代码和模型均源自chineseocr lite的onnx分支

详情请查看 https://github.com/ouyanghuiyu/chineseocr_lite

采用ncnn神经网络前向计算框架https://github.com/Tencent/ncnn

总体说明

  1. 封装为独立的Library,可以编译为aar,作为模块来调用;
  2. Native层以C++编写;
  3. Demo App以Kotlin-JVM编写;
  4. Android版与其它版本不同,包含了几个应用场景,包括相册识别、摄像头识别、手机IMEI号识别、摄像头身份证识别这几个功能页面;
  5. 可选择CPU版或GPU版;CPU版仅支持CPU运算,最低支持API21,且安装包体积小;GPU版支持vulkan(GPU加速),最低支持API24,安装包体积较大;

更新说明

2021-09-28 update 1.6.0

  • opencv 3.4.15(特别说明:4.5.3也可以支持,如果换成cv4,minSdkVersion必须改为24)
  • ncnn 20210720
  • 升级kotlin: 1.5.31
  • 升级gradle: 7.0.2
  • 升级各dependencies
  • 使用kotlin coroutines代替rxjava

2021-10-28 update 1.6.1

  • 编辑build.gradle,把版本定义放到root build.gradle
  • 编辑github workflow config,上传aar文件到release

2022-03-03 update 1.6.2

  • 升级gradle
  • 升级依赖库

2022-06-20 update 1.7.0

  • ncnn 20220420,更新后模型支持有变化,需要重新用ncnn自带的onnx2ncnn转换模型
  • 高版本的opencv会要求 Minimum required by OpenCV API level is android-24,所以目前仍停留在3.4.15
  • 如果不在意MinSdk,可自行下载新版opencv

2022-02-16 update 1.8.0

  • 增加相册识别和相机识别停止按钮
  • 添加 Java demo
  • 适配ncnn 20221128

编译说明

使用说明

项目结构

OcrLiteAndroidNcnn
    ├── app               # demo app
    ├── capture           # 截图
    ├── common-aar        # app引用的aar库
    ├── keystore          # app签名密钥文件
    ├── OcrLibrary        # Ocr引擎库,包含Jni和C++代码
    └── scripts           # 编译脚本

常见问题

输入参数说明

请参考OcrLiteOnnx项目

关于作者

版权声明

  • OCR模型版权归DayBreak所有;
  • 其它工程代码版权归本仓库所有者所有;

示例图

IMEI识别

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].