📄 Awesome OCR multiple programing languages toolkits based on ONNX Runtime, OpenVINO, MNN, PaddlePaddle, TensorRT and PyTorch.
update README
SWHLb587e39696e4
diff --git a/README.md b/README.mdindex 5852834..37f3842 100755--- a/README.md+++ b/README.md@@ -1,37 +1,38 @@-完全开源免费并支持离线部署的多平台多语言OCR SDK-中文广告: 欢迎加入我们的QQ群下载模型及测试程序,qq群号:887298230+# RapidOCR (捷智OCR)-欢迎STAR, 欢迎PR, 欢迎转发。+简体中文 | [English](README_en.md)-## SDK 编译状态--| 平台 | 编译状态 | 提供状态 |-| --------------- | -------- | -------- |-| Windows x86/x64 | [](https://github.com/RapidOCR/RapidOCR/actions/workflows/windows-all-build.yaml) | 右侧下载 |-| Linux x64 | [](https://github.com/RapidOCR/RapidOCR/actions/workflows/make-linux.yml) | 暂不提供,自行编译 |--鉴于ubuntu用户都是商业用户,也有编译能力,暂不提供预编译包使用,可自行编译。+## 简介+- 完全开源免费并支持离线部署的多平台多语言OCR SDK+- **中文广告**: 欢迎加入我们的QQ群下载模型及测试程序,qq群号:887298230+- **缘起**:百度paddlepaddle工程化不是太好,为了方便大家在各种端上进行ocr推理,我们将它转换为onnx格式,使用``python/c++/java/swift/c#`` 将它移植到各个平台。+- **名称来源**: 轻快好省并智能。 基于深度学习技术的OCR技术,主打人工智能优势及小模型,以速度为使命,效果为主导。-## 常见问题- [FAQ](FAQ.md)+- 基于百度的开源PaddleOCR 模型及训练,任何人可以使用本推理库,也可以根据自己的需求使用百度的paddlepaddle 框架进行模型优化。-# 重要说明+## 重要说明+- 新模型已经完全兼容ONNXRuntime 1.7 或更高版本。 特别感谢:@Channingss+- 新版onnxruntime比1.6.0 性能提升40%以上。-新模型已经完全兼容ONNXRuntime 1.7 或更高版本。 特别感谢:@Channingss+## 常见问题 [FAQ](FAQ.md)-新版onnxruntime比1.6.0 性能提升40%以上。--## 在线演示(online demo): http://rapidocr.51pda.cn:9003/--### 演示模型组合说明: server det+mobile cls+mobile rec+## c++ SDK 编译状态+鉴于ubuntu用户都是商业用户,也有编译能力,暂不提供预编译包使用,可自行编译。-中文详细说明,请访问: [中文版](readme_cn.md) Chinese Name: 捷智OCR+| 平台 | 编译状态 | 提供状态 |+| --------------- | -------- | -------- |+| Windows x86/x64 | [](https://github.com/RapidOCR/RapidOCR/actions/workflows/windows-all-build.yaml) | 右侧下载 |+| Linux x64 | [](https://github.com/RapidOCR/RapidOCR/actions/workflows/make-linux.yml) | 暂不提供,自行编译 |-### 本仓库包括+## 在线demo+- [Web demo](http://rapidocr.51pda.cn:9003/)+- demo所用模型组合为: `server det+mobile cls+mobile rec`+### [模型训练相关问题](https://github.com/PaddlePaddle/PaddleOCR/blob/release/2.1/doc/doc_ch/FAQ.md)+### 当前进展- [x] 纯c/c++ API 接口,方便移植所有平台 (网盘提供预编译SDK)- [x] .NET测试程序 演示在.NET程序中的使用方法- [x] Android 测试程序@@ -41,113 +42,26 @@- [ ] IOS演示 招贡献者- [ ] 依据python版本重写C++推理代码,以提升推理效果,并增加对gif/tga/webp 格式图片的支持-### 下载转换好的多语言模型:--```-Download OCR models--https://github.com/RapidOCR/RapidOCR/releases/download/V1.0/rapid-model.tgz--```------------------ For English Users ------------------------License: Apache License 2.0--Note:--For PC (political correctness ), we changed our name from BaiPiaoOCR to RapidOCR---Special thanks to Channingss@baidu (the owner of project Paddle2Onnx)--### Directory structure--### 目录结构-<details>- <summary>点击展开</summary>-- ```text- RapidOCR- |- |--android 安卓工程目录- |- |--api4cpp c语言跨平台接口库源码目录,直接用根下的CMakelists.txt 编译- |- |--build 编译脚本- |- |--cpp 基于c++的工程项目文件夹- |- |--datasets 额外的训练数据集,百度网盘下载地址- |- |--dotnet .Net程序目录- |- |--include 编译c语言接口库时的头文件目录- |- |--ios 苹果手机平台工程目录- |- |--images 测试用图片,两张典型的测试图,一张是自然场景,另一个为长文本- |- |--jvm 基于java的工程目录- |- |--lib 编译用库文件目录,用于编译c语言接口库用,默认并不上传二进制文件- |- |--models 放置可使用的模型文件下载信息,基于百度网盘- |- |--python python推理代码目录- |- |--test_imgs 一些演示用的图片,不是测试集- |- |--tools 一些转换脚本之类- |- |--training 训练自己的模型使用的脚本或程序。- ```-</details>---**Copyright announcement:**--If you use or reference code or code snippet from the repository, please add our url--https://github.com/RapidOCR/RapidOCR in your prodouct derived from the repository.---**Author:**--benjaminwan, znsoftm--All contributors is in the contributor list on the right side of this page.---**Description**--BaiPiaoOCR means an OCR Engine who is fair-skinned, rich and beautiful from Baidu, it's based on PaddleOCR & OnnxRuntime.--Note: The project is derived from https://github.com/PaddlePaddle/PaddleOCR--We create the project to transfer PaddleOCR's model into the version of Onnx model to deploy the model on almost every devices, such as x86 PC, Android & IOS.--We are using Paddle2ONNX (https://github.com/PaddlePaddle/Paddle2ONNX) to transform it to Onnx format.-----You can visualize the model by https://github.com/lutzroeder/netron/---Welcome to our Group on QQ: 887298230-or visit: https://jq.qq.com/?_wv=1027&k=P9b3olx6 to join us.---Download OCR models-```-Linkage :https://github.com/RapidOCR/RapidOCR/releases/download/V1.0/rapid-model.tg-```--### Demonstration with C++/JVM----### Demonstration with .Net--+### 模型转换+- 目前转换脚本支持的模型:+ - 文本方向分类模型1个,+ - 检测模型2个,+ - 识别模型28个(简体中文2种,繁体中文等26种),合计31个+- [模型转换说明](./models)++### onnx模型下载+- [提取码:30jv](https://pan.baidu.com/s/1qkqWK4wRdMjqGGbzR-FyWg)++### 原始发起者及初创作者+- [benjaminwan](https://github.com/benjaminwan)+- [znsoftm](https://github.com/znsoftm)++### 版权声明+- 如果你的产品使用了本仓库中的全部或部分代码、文字或材料+- 请注明出处并包括我们的github url: `https://github.com/RapidOCR/RapidOCR`++### 授权+- OCR模型版权归百度所有,其它工程代码版权归本仓库所有者所有。+- 本软件采用LGPL 授权方式,欢迎大家贡献代码,提交issue 甚至pr.+- 您可以通过QQ群联系到我们: 887298230+- 群号搜索不到时,请直接点此[**链接**](https://jq.qq.com/?_wv=1027&k=P9b3olx6),找到组织diff --git a/README_CN.md b/README_CN.mdindex f30cbcf..cb6456c 100755--- a/README_CN.md+++ b/README_CN.md@@ -5,9 +5,6 @@基于百度的开源PaddleOCR 模型及训练,任何人可以使用本推理库,也可以根据自己的需求使用百度的paddlepaddle 框架进行模型优化。-### 原始发起者及初创作者-- [benjaminwan](https://github.com/benjaminwan)-- [znsoftm](https://github.com/znsoftm)### 当前进展- [x] C++范例(Windows/Linux/macOS): [demo](./cpp)@@ -19,7 +16,6 @@### [在线演示](http://rapidocr.51pda.cn:9003/)-### [模型训练相关问题](https://github.com/PaddlePaddle/PaddleOCR/blob/release/2.1/doc/doc_ch/FAQ.md)### 模型转换