📄 Awesome OCR multiple programing languages toolkits based on ONNX Runtime, OpenVINO, MNN, PaddlePaddle, TensorRT and PyTorch.
Update README and add modelscope demo
SWHL432f6aaa0635
diff --git a/README.md b/README.mdindex e27caf2..df00741 100755--- a/README.md+++ b/README.md@@ -1,14 +1,14 @@-简体中文 | [English](https://github.com/RapidAI/RapidOCR/blob/main/docs/README_en.md)+[简体中文](https://github.com/RapidAI/RapidOCR/blob/main/docs/README_zh.md) | English<div align="center">- <img src="https://raw.githubusercontent.com/RapidAI/RapidOCR/main/assets/RapidOCR_LOGO.png" width="65%" height="65%"/>+ <img src="https://raw.githubusercontent.com/RapidAI/RapidOCR/main/assets/RapidOCR_LOGO.png" width="55%" height="55%"/></div>-# 捷智OCR-*信创级开源OCR - 为世界内容安全贡献力量*+*Open source OCR for the security of the digital world*<p align="left"><a href="https://huggingface.co/spaces/SWHL/RapidOCRDemo" target="_blank"><img src="https://img.shields.io/badge/%F0%9F%A4%97-Hugging Face Demo-blue"></a>+ <a href="https://www.modelscope.cn/studios/liekkas/RapidOCRDemo/summary" target="_blank"><img src="https://img.shields.io/badge/ModelScope-Demo-blue"></a><a href="https://colab.research.google.com/github/RapidAI/RapidOCR/blob/main/assets/RapidOCRDemo.ipynb" target="_blank"><img src="https://raw.githubusercontent.com/RapidAI/RapidOCR/main/assets/colab-badge.svg" alt="Open in Colab"></a><a href="https://aistudio.baidu.com/aistudio/projectdetail/4444785?sUid=57084&shared=1&ts=1660896122332" target="_blank"><img src="https://img.shields.io/badge/PP-Open in AI Studio-blue.svg"></a><br/><a href=""><img src="https://img.shields.io/badge/Python->=3.6,<3.12-aff.svg"></a>@@ -19,88 +19,98 @@<a href="https://github.com/RapidAI/RapidOCR/stargazers"><img src="https://img.shields.io/github/stars/RapidAI/RapidOCR?color=ccf"></a><a href='https://rapidocr.readthedocs.io/en/latest/?badge=latest'><img src='https://readthedocs.org/projects/rapidocr/badge/?version=latest' alt='Documentation Status' />- </a><a href="https://semver.org/"><img alt="SemVer2.0" src="https://img.shields.io/badge/SemVer-2.0-brightgreen"></a>+ </a><a href="https://github.com/psf/black"><img src="https://img.shields.io/badge/code%20style-black-000000.svg"></a></p>-<details>- <summary>目录</summary>--- [捷智OCR](#捷智ocr)- - [商业支持](#商业支持)- - [简介](#简介)- - [文档导航](#文档导航)- - [生态框架](#生态框架)- - [在线demo](#在线demo)- - [更新日志(more)](#更新日志more)- - [TODO以及任务认领](#todo以及任务认领)- - [原始发起者及初创作者](#原始发起者及初创作者)- - [致谢](#致谢)- - [赞助](#赞助)- - [版权声明](#版权声明)- - [授权](#授权)- - [加入我们](#加入我们)- - [示例图](#示例图)- - [C++/JVM示例图像](#cjvm示例图像)- - [.Net示例图像](#net示例图像)- - [多语言示例图像](#多语言示例图像)+ <summary>Contents</summary>++- [Introduction](#introduction)+- [Navigation](#navigation)+- [Recently updates(more)](#recently-updatesmore)+ - [🍜2023-05-22 api update:](#2023-05-22-api-update)+ - [❤2023-05-20 ocrweb update:](#2023-05-20-ocrweb-update)+ - [🌹 2023-05-14 ocrweb v0.1.5 update:](#-2023-05-14-ocrweb-v015-update)+- [Overall Framework](#overall-framework)+- [Demo](#demo)+- [TODO and Task Claim](#todo-and-task-claim)+- [Original initiator and start-up author](#original-initiator-and-start-up-author)+- [Acknowledgements](#acknowledgements)+- [Sponsor](#sponsor)+- [Authorization](#authorization)+- [Join us](#join-us)+- [Demo](#demo-1)+ - [Demonstration with C++/JVM](#demonstration-with-cjvm)+ - [Demonstration with .Net](#demonstration-with-net)+ - [Demonstratioin with multi\_language](#demonstratioin-with-multi_language)</details>-## 商业支持-- 🎉🎉🎉 推出知识星球[RapidAI私享群](https://t.zsxq.com/0duLBZczw),这里的提问会优先得到回答和支持,也会享受到RapidAI组织后续持续优质的服务,欢迎大家的加入。-- 提供信创平台多架构,包括**Arm/X86/mips(龙芯)/RISC-V**等信创CPU支持,同时兼容**ONNXRuntime/OpenVINO/NCNN**。有意者邮件联系: [email protected], 请先邮件咨询服务项目,即时回复联系方式。-- 提供国产操作系统(海光、中科方德、麒麟等等)OCR Docker部署服务,有意者 → ✉ [email protected]。--## 简介-- 💖目前已知**运行速度最快、支持最广**,完全开源免费并支持离线快速部署的多平台多语言OCR。-- **支持的语言**: 默认是中英文,其他语言识别需要自助转换。具体参考[这里](https://github.com/RapidAI/RapidOCR/wiki/support_language)-- **缘起**:百度paddlepaddle工程化不是太好,为了方便大家在各种端上进行ocr推理,我们将它转换为onnx格式,使用`Python/C++/Java/Swift/C#` 将它移植到各个平台。-- **名称来源**: 轻快好省并智能。基于深度学习技术的OCR技术,主打人工智能优势及小模型,以速度为使命,效果为主导。-- **使用**:- - 如果仓库下已有模型满足要求 → RapidOCR部署使用即可。- - 不满足要求 → 基于[PaddleOCR](https://github.com/PaddlePaddle/PaddleOCR)在自己数据上微调 → RapidOCR部署。-- 如果该仓库有帮助到你,还请点个小星星⭐呗!--## 文档导航++## Introduction+- Completely open source, free and support offline deployment of multi-platform and multi-language OCR.+- **Chinese Advertising**: Welcome to join our QQ group to download the model and test program, QQ group number: 887298230+- **Cause**: Baidu paddlepaddle engineering is not very good, in order to facilitate everyone to perform OCR reasoning on various terminals, we convert it to onnx format, use `Python/C++/Java/Swift/C#` to change It is ported to various platforms.+- **Name Source**: Light, fast, economical and smart. OCR technology based on deep learning technology focuses on artificial intelligence advantages and small models, with speed as the mission and effect as the leading role.+- **Usage**:+ - If the existing model in the repo meets the requirements → RapidOCR deployment can be used.+ - Not meeting requirements → Based on [PaddleOCR](https://github.com/PaddlePaddle/PaddleOCR). Fine-tune your own data → RapidOCR deployment.+-If this repo is helpful to you, please click on a small star ⭐ Bah!++## Navigation- [Wiki](https://github.com/RapidAI/RapidOCR/wiki)- - [自定义识别模型](https://github.com/RapidAI/RapidOCR/wiki/support_language)- - [ONNXRuntime推理调优指南](https://github.com/RapidAI/RapidOCR/wiki/ONNXRuntime%E6%8E%A8%E7%90%86%E8%B0%83%E4%BC%98%E6%8C%87%E5%8D%97)- - [RapidOCR调优尝试教程](https://github.com/RapidAI/RapidOCR/wiki/RapidOCR%E8%B0%83%E4%BC%98%E5%B0%9D%E8%AF%95%E6%95%99%E7%A8%8B)- - [OpenVINO推理](https://github.com/RapidAI/RapidOCR/wiki/openvino%E6%8E%A8%E7%90%86)- - [config.yaml参数详解](https://github.com/RapidAI/RapidOCR/wiki/config_parameter)-- [Python范例](https://github.com/RapidAI/RapidOCR/blob/main/python/README.md)-- [C++范例(Windows/Linux/macOS)](https://github.com/RapidAI/RapidOCR/blob/main/cpp)+ - [Support Language](https://github.com/RapidAI/RapidOCR/wiki/support_language)+ - [ONNXRuntime inference optim](https://github.com/RapidAI/RapidOCR/wiki/ONNXRuntime%E6%8E%A8%E7%90%86%E8%B0%83%E4%BC%98%E6%8C%87%E5%8D%97)+ - [RapidOCR Optim](https://github.com/RapidAI/RapidOCR/wiki/RapidOCR%E8%B0%83%E4%BC%98%E5%B0%9D%E8%AF%95%E6%95%99%E7%A8%8B)+ - [config.yaml parameter](https://github.com/RapidAI/RapidOCR/wiki/config_parameter)+- [Python demo](https://github.com/RapidAI/RapidOCR/blob/main/python/README.md)+- [C++ demo(Windows/Linux/macOS)](https://github.com/RapidAI/RapidOCR/blob/main/cpp)- [RapidOcrOnnx](https://github.com/RapidAI/RapidOcrOnnx)- [RapidOcrNcnn](https://github.com/RapidAI/RapidOcrNcnn)-- [Jvm范例(Java/Kotlin)](https://github.com/RapidAI/RapidOCR/blob/main/jvm)+- [Jvm demo(Java/Kotlin)](https://github.com/RapidAI/RapidOCR/blob/main/jvm)- [RapidOcrOnnxJvm](https://github.com/RapidAI/RapidOcrOnnxJvm)- [RapidOcrNcnnJvm](https://github.com/RapidAI/RapidOcrNcnnJvm)-- [.Net范例(C#)](https://github.com/RapidAI/RapidOCRCSharp)-- [Android范例](https://github.com/RapidAI/RapidOcrAndroidOnnx)-- 网页版范例- - [网页版OCR](https://github.com/RapidAI/RapidOCR/blob/main/ocrweb/README.md)- - [Nuitka打包rapdocr_web](https://github.com/RapidAI/RapidOCR/wiki/Nuitka%E6%89%93%E5%8C%85rapidocr_web%E6%93%8D%E4%BD%9C%E6%96%87%E6%A1%A3)- - [多语言网页版OCR](https://github.com/RapidAI/RapidOCR/blob/main/ocrweb_multi/README.md)-- [API版](https://github.com/RapidAI/RapidOCR/tree/main/api)-- [版面结构化-RapidStructure](https://github.com/RapidAI/RapidStructure)- - [含文本的图像方向分类](https://github.com/RapidAI/RapidStructure/blob/main/docs/README_Orientation.md)- - [版面分析](https://github.com/RapidAI/RapidStructure/blob/main/docs/README_Layout.md)- - [表格还原](https://github.com/RapidAI/RapidStructure/blob/main/docs/README_Table.md)-- 衍生项目- - [RapidOCR HTTP服务/win32程序/易语言编写](https://github.com/Physton/RapidOCRServer)-- [垂直项目](https://github.com/RapidAI/RapidOCR/blob/main/docs/related_projects.md)- - [RapidOCRPDF](https://github.com/RapidAI/RapidOCRPDF):解析PDF文件- - [RapidVideOCR](https://github.com/SWHL/RapidVideOCR):基于RapidOCR,提取视频中的硬字幕- - [LGPMA_Infer](https://github.com/SWHL/LGPMA_Infer): 表格结构还原 | [博客解读论文和源码](http://t.csdn.cn/QNN3S)- - [PaperEdge](https://github.com/cvlab-stonybrook/PaperEdge):文档图像矫正 | [Demo](https://huggingface.co/spaces/SWHL/PaperEdgeDemo)- - [CTRNet](https://github.com/lcy0604/CTRNet):图像文字擦除 | [Demo](https://huggingface.co/spaces/SWHL/CTRNetDemo)-- [模型相关](https://github.com/RapidAI/RapidOCR/wiki/%E6%A8%A1%E5%9E%8B%E7%9B%B8%E5%85%B3)-- [常见问题 FAQ](https://github.com/RapidAI/RapidOCR/wiki/FAQ)---## 生态框架+- [.Net demo(C#)](https://github.com/RapidAI/RapidOCRCSharp)+- [Android demo](https://github.com/RapidAI/RapidOcrAndroidOnnx)+- [API](https://github.com/RapidAI/RapidOCR/tree/main/api)+- Web demo:+ - [Web OCR](https://github.com/RapidAI/RapidOCR/blob/main/ocrweb/README.md)+ - [Nuitka package rapdocr_web](https://github.com/RapidAI/RapidOCR/wiki/Nuitka%E6%89%93%E5%8C%85rapidocr_web%E6%93%8D%E4%BD%9C%E6%96%87%E6%A1%A3)+ - [Multi Web OCR](https://github.com/RapidAI/RapidOCR/blob/main/ocrweb_multi/README.md)+- [RapidStructure](https://github.com/RapidAI/RapidStructure)+ - [orientation](https://github.com/RapidAI/RapidStructure/blob/main/docs/README_Orientation.md)+ - [layout](https://github.com/RapidAI/RapidStructure/blob/main/docs/README_Layout.md)+ - [table recovery](https://github.com/RapidAI/RapidStructure/blob/main/docs/README_Table.md)+- Derivatives+ - [RapidOCR HTTP service/win32 program/easy language writing](https://github.com/Physton/RapidOCRServer)+- [Related projects](https://github.com/RapidAI/RapidOCR/blob/main/docs/related_projects.md)+ - [RapidOCRPDF](https://github.com/RapidAI/RapidOCRPDF):extract PDF content.+ - [RapidVideOCR](https://github.com/SWHL/RapidVideOCR): Extract hard subtitles in videos based on RapidOCR+ - [LGPMA_Infer](https://github.com/SWHL/LGPMA_Infer): table structure restoration | [blog interpretation papers and source code](http://t.csdn.cn/QNN3S)+ - [Document Unwarping-PaperEdge](https://github.com/cvlab-stonybrook/PaperEdge) | [Demo](https://huggingface.co/spaces/SWHL/PaperEdgeDemo)+ - [Text Removal-CTRNet](https://github.com/lcy0604/CTRNet) | [Demo](https://huggingface.co/spaces/SWHL/CTRNetDemo)+- Model Convert+ - [PaddleOCRModelConverter](https://github.com/RapidAI/PaddleOCRModelConverter)+ - [Paddle2OnnxConvertor](https://github.com/RapidAI/Paddle2OnnxConvertor)+ - [Teach you to use ONNXRunTime to deploy PP-OCR](https://aistudio.baidu.com/aistudio/projectdetail/1479970?channelType=0&channel=0)+- [About model](https://github.com/RapidAI/RapidOCR/blob/main/docs/models.md)+ - [Model Convert](https://github.com/RapidAI/RapidOCR/blob/main/docs/models.md#模型转换)+ - [Model Download](https://github.com/RapidAI/RapidOCR/blob/main/docs/models.md#模型下载)+- [FAQ](https://github.com/RapidAI/RapidOCR/blob/main/docs/FAQ.md)++## Recently updates([more](https://github.com/RapidAI/RapidOCR/wiki/Changelog))+#### 🍜2023-05-22 api update:+- Decouple the API from ocrweb and maintain it as a separate module. For details, see [API](https://github.com/RapidAI/RapidOCR/tree/main/api)+- After `rapidocr_web>0.1.6`, `pip install rapidocr_web[api]` will not be supported for installation, you can directly install and use `pip install rapidocr_api`.+#### ❤2023-05-20 ocrweb update:+- Add desktop version of RapidOCRWeb, for details, please refer to [RapidOCRWeb desktop version tutorial](https://github.com/RapidAI/RapidOCR/wiki/%5BRapidOCRWeb%5D-%E6%A1%8C%E9%9D%A2%E7%89%88%E4%BD%BF%E7%94%A8%E6%95%99%E7%A8%8B)+#### 🌹 2023-05-14 ocrweb v0.1.5 update:+- Add the return value of the interface version's return coordinate box ([issue #85](https://github.com/RapidAI/RapidOCR/issues/85))+- API mode adds base64 format input+- For details, please refer to: [link](https://github.com/RapidAI/RapidOCR/blob/main/ocrweb/README.md)++## Overall Framework```mermaidflowchart LRsubgraph Step@@ -116,60 +126,56 @@ flowchart LRclick F "https://github.com/RapidAI/PaddleOCRModelConverter" _blank```-## 在线demo-- 自建在线demo- - 详情参见:[ocrweb/README](https://github.com/RapidAI/RapidOCR/blob/main/ocrweb/README.md)- - **demo所用模型组合(最优组合)为**:- ```text+## Demo+- Online demo+ - For details, please refer to: [ocrweb/README](https://github.com/RapidAI/RapidOCR/blob/main/ocrweb/README.md)+ - The model combination (optimal combination) used for the demo is:+ ``` textch_PP-OCRv3_det + ch_ppocr_mobile_v2.0_cls + ch_PP-OCRv3_rec```- - **示例图**:+ - **Demo**:<div align="center"><img src="https://github.com/RapidAI/RapidOCR/blob/ae529c2ba79e6cbf04c54caf2d24feb75e947ca4/assets/demo.gif" width="100%" height="100%"></div>- [Hugging Face Demo](https://huggingface.co/spaces/SWHL/RapidOCRDemo)- - 该demo依托于Hugging Face的Spaces构建,采用Gradio库搭建。- - 示例图:+ - The demo is built on Hugging Face's Spaces, generated by the Gradio library.+ - Demo:<div align="center"><img src="https://github.com/RapidAI/RapidOCR/releases/download/v1.1.0/hf_demo.png" width="100%" height="100%"></div>-## 更新日志([more](https://github.com/RapidAI/RapidOCR/wiki/%E6%9B%B4%E6%96%B0%E6%97%A5%E5%BF%97_rapidocr))-- [rapidocr](https://github.com/RapidAI/RapidOCR/wiki/%E6%9B%B4%E6%96%B0%E6%97%A5%E5%BF%97_rapidocr)-- [rapidocr_web](https://github.com/RapidAI/RapidOCR/wiki/%E6%9B%B4%E6%96%B0%E6%97%A5%E5%BF%97_ocrweb)-- [rapidocr_api](https://github.com/RapidAI/RapidOCR/wiki/%E6%9B%B4%E6%96%B0%E6%97%A5%E5%BF%97_rapid_api)-## TODO以及任务认领-- 参见这里:[link](https://github.com/orgs/RapidAI/projects/7)+## TODO and Task Claim+- See here: [link](https://github.com/orgs/RapidAI/projects/7)-## 原始发起者及初创作者+## Original initiator and start-up author<p align="left"><a href="https://github.com/RapidAI/RapidOCR/graphs/contributors"><img src="https://contrib.rocks/image?repo=RapidAI/RapidOCR" width="50%"/></a></p>+## Acknowledgements+- Many thanks to [DeliciaLaniD](https://github.com/DeliciaLaniD) for fixing the misplaced start position of scan animation in ocrweb.+- Many thanks to [zhsunlight](https://github.com/zhsunlight) for the suggestion about parameterized call GPU reasoning and the careful and thoughtful testing.+- Many thanks to [lzh111222334](https://github.com/lzh111222334) for fixing some bugs of rec preprocessing under python version.+- Many thanks to [AutumnSun1996](https://github.com/AutumnSun1996) for the suggestion in the [#42](https://github.com/RapidAI/RapidOCR/issues/42).+- Many thanks to [DeadWood8](https://github.com/DeadWood8) for providing the [document]((https://github.com/RapidAI/RapidOCR/wiki/Nuitka%E6%89%93%E5%8C%85rapidocr_web%E6%93%8D%E4%BD%9C%E6%96%87%E6%A1%A3)) which packages rapidocr_web to exe by Nuitka.+- Many thanks to [Loovelj](https://github.com/Loovelj) for fixing the bug of sorting the text boxes. For details see [issue 75](https://github.com/RapidAI/RapidOCR/issues/75).-## 致谢-- 非常感谢[DeliciaLaniD](https://github.com/DeliciaLaniD)修复ocrweb中扫描动画起始位置错位问题。-- 非常感谢[zhsunlight](https://github.com/zhsunlight)关于参数化调用GPU推理的建议以及细致周到的测试。-- 非常感谢[lzh111222334](https://github.com/lzh111222334)修复python版本下rec前处理部分bug。-- 非常感谢[AutumnSun1996](https://github.com/AutumnSun1996)在[#42](https://github.com/RapidAI/RapidOCR/issues/42)中的建议。-- 非常感谢[DeadWood8](https://github.com/DeadWood8)提供了[Nuitka打包rapidocr_web的操作文档和可执行exe](https://github.com/RapidAI/RapidOCR/wiki/Nuitka%E6%89%93%E5%8C%85rapidocr_web%E6%93%8D%E4%BD%9C%E6%96%87%E6%A1%A3)。-- 非常感谢[Loovelj](https://github.com/Loovelj)指出对文本检测框排序时顺序问题,详情参见[issue 75](https://github.com/RapidAI/RapidOCR/issues/75)。+## Sponsor-## 赞助-|赞助者|应用的产品|+|Sponsor|Applied Products||:---:|:---:|-|<a href="https://github.com/cuiliang" title="cuiliang"><img src="https://avatars.githubusercontent.com/u/1972649?v=4" width=65 height=65></a>|<a href="https://getquicker.net/" title="Quicker指尖工具箱"><img src="https://github.com/RapidAI/RapidOCR/releases/download/v1.1.0/Quicker.jpg" width=65 height=65></a>|+|<a href="https://github.com/cuiliang" title="cuiliang"><img src="https://avatars.githubusercontent.com/u/1972649?v=4" width=65 height=65></a>|<a href="https://getquicker.net/" title="Quicker"><img src="https://github.com/RapidAI/RapidOCR/releases/download/v1.1.0/Quicker.jpg" width=65 height=65></a>||<a href="https://github.com/Eunsolfs" title="Eunsolfs"><img src="https://avatars.githubusercontent.com/u/53815751?v=4" width=65 height=65></a>| - |-- 如果您想要赞助该项目,可直接点击当前页最上面的Sponsor按钮,请写好备注(**您的Github账号名称**),方便添加到上面赞助列表中。+- If you want to sponsor the project, you can directly click the Sponsor button at the top of the current page, please write a note (e.g. your github account name) to facilitate adding to the sponsorship list above.--## 版权声明-- 如果你的产品使用了本仓库中的全部或部分代码、文字或材料-- 如果你的研究用到了该项目,可以如下引用:+## Authorization+- The copyright of the OCR model belongs to Baidu, and the copyright of other engineering codes belongs to the owner of this warehouse.+- This software is licensed under LGPL. You are welcome to contribute code, submit an issue or even PR.+- If you find this project useful in your research, please consider citing:```latex@misc{RapidOCR 2021,title={{Rapid OCR}: OCR Toolbox},@@ -179,30 +185,21 @@ flowchart LR}```-## 授权-- OCR模型版权归百度所有,其它工程代码版权归本仓库所有者所有。-- 本软件采用Apache 授权方式,欢迎大家贡献代码,提交issue 甚至PR。--## 加入我们-- 微信扫描以下二维码,关注**RapidAI公众号**,回复OCR即可加入RapidOCR微信交流群:- <div align="center">- <img src="https://raw.githubusercontent.com/RapidAI/.github/main/assets/RapidAI_WeChatAccount.jpg" width="25%" height="25%" align="center">- </div>--- 欢迎加入我们的QQ群下载模型及测试程序。1群:~887298230~ 已满,2群:~755960114~ 已满,3群:450338158+## Join us+- For international developers, we regard [RapidOCR Disscussions](https://github.com/RapidAI/RapidOCR/discussions) as our international community platform. All ideas and questions can be discussed here in English.-## 示例图-#### C++/JVM示例图像+## Demo+#### Demonstration with C++/JVM<div align="center"><img src="https://github.com/RapidAI/RapidOCR/blob/ae529c2ba79e6cbf04c54caf2d24feb75e947ca4/assets/demo_cpp.png" width="100%" height="100%"></div>-#### .Net示例图像+#### Demonstration with .Net<div align="center"><img src="https://github.com/RapidAI/RapidOCR/blob/ae529c2ba79e6cbf04c54caf2d24feb75e947ca4/assets/demo_cs.png" width="100%" height="100%"></div>-#### 多语言示例图像+#### Demonstratioin with multi_language<div align="center"><img src="https://github.com/RapidAI/RapidOCR/blob/ae529c2ba79e6cbf04c54caf2d24feb75e947ca4/assets/demo_multi_language.jpg" width="80%" height="80%"></div>diff --git a/docs/README_en.md b/docs/README_en.mddeleted file mode 100644index 6894b66..0000000--- a/docs/README_en.md+++ /dev/null@@ -1,204 +0,0 @@--[简体中文](https://github.com/RapidAI/RapidOCR/blob/main/README.md) | English-<div align="center">- <img src="https://raw.githubusercontent.com/RapidAI/RapidOCR/main/assets/RapidOCR_LOGO.png" width="55%" height="55%"/>-</div>--*Open source OCR for the security of the digital world*--<p align="left">- <a href="https://huggingface.co/spaces/SWHL/RapidOCRDemo" target="_blank"><img src="https://img.shields.io/badge/%F0%9F%A4%97-Hugging Face Demo-blue"></a>- <a href="https://colab.research.google.com/github/RapidAI/RapidOCR/blob/main/assets/RapidOCRDemo.ipynb" target="_blank"><img src="https://raw.githubusercontent.com/RapidAI/RapidOCR/main/assets/colab-badge.svg" alt="Open in Colab"></a>- <a href="https://aistudio.baidu.com/aistudio/projectdetail/4444785?sUid=57084&shared=1&ts=1660896122332" target="_blank"><img src="https://img.shields.io/badge/PP-Open in AI Studio-blue.svg"></a><br/>- <a href=""><img src="https://img.shields.io/badge/Python->=3.6,<3.12-aff.svg"></a>- <a href=""><img src="https://img.shields.io/badge/OS-Linux%2C%20Win%2C%20Mac-pink.svg"></a>- <a href="https://github.com/RapidAI/RapidOCR/graphs/contributors"><img src="https://img.shields.io/github/contributors/RapidAI/RapidOCR?color=9ea"></a>- <a href="https://pepy.tech/project/rapidocr_onnxruntime"><img src="https://static.pepy.tech/personalized-badge/rapidocr_onnxruntime?period=total&units=abbreviation&left_color=grey&right_color=blue&left_text=Downloads%20Ort"></a>- <a href="https://pypi.org/project/rapidocr-onnxruntime/"><img alt="PyPI" src="https://img.shields.io/pypi/v/rapidocr-onnxruntime"></a>- <a href="https://github.com/RapidAI/RapidOCR/stargazers"><img src="https://img.shields.io/github/stars/RapidAI/RapidOCR?color=ccf"></a>- <a href='https://rapidocr.readthedocs.io/en/latest/?badge=latest'>- <img src='https://readthedocs.org/projects/rapidocr/badge/?version=latest' alt='Documentation Status' />- <a href="https://semver.org/"><img alt="SemVer2.0" src="https://img.shields.io/badge/SemVer-2.0-brightgreen"></a>- </a>- <a href="https://github.com/psf/black"><img src="https://img.shields.io/badge/code%20style-black-000000.svg"></a>-</p>--<details>- <summary>Contents</summary>--- [Introduction](#introduction)-- [Navigation](#navigation)-- [Recently updates(more)](#recently-updatesmore)- - [🍜2023-05-22 api update:](#2023-05-22-api-update)- - [❤2023-05-20 ocrweb update:](#2023-05-20-ocrweb-update)- - [🌹 2023-05-14 ocrweb v0.1.5 update:](#-2023-05-14-ocrweb-v015-update)-- [Overall Framework](#overall-framework)-- [Demo](#demo)-- [TODO and Task Claim](#todo-and-task-claim)-- [Original initiator and start-up author](#original-initiator-and-start-up-author)-- [Acknowledgements](#acknowledgements)-- [Sponsor](#sponsor)-- [Authorization](#authorization)-- [Join us](#join-us)-- [Demo](#demo-1)- - [Demonstration with C++/JVM](#demonstration-with-cjvm)- - [Demonstration with .Net](#demonstration-with-net)- - [Demonstratioin with multi\_language](#demonstratioin-with-multi_language)-</details>---## Introduction-- Completely open source, free and support offline deployment of multi-platform and multi-language OCR.-- **Chinese Advertising**: Welcome to join our QQ group to download the model and test program, QQ group number: 887298230-- **Cause**: Baidu paddlepaddle engineering is not very good, in order to facilitate everyone to perform OCR reasoning on various terminals, we convert it to onnx format, use `Python/C++/Java/Swift/C#` to change It is ported to various platforms.-- **Name Source**: Light, fast, economical and smart. OCR technology based on deep learning technology focuses on artificial intelligence advantages and small models, with speed as the mission and effect as the leading role.-- **Usage**:- - If the existing model in the repo meets the requirements → RapidOCR deployment can be used.- - Not meeting requirements → Based on [PaddleOCR](https://github.com/PaddlePaddle/PaddleOCR). Fine-tune your own data → RapidOCR deployment.--If this repo is helpful to you, please click on a small star ⭐ Bah!--## Navigation-- [Wiki](https://github.com/RapidAI/RapidOCR/wiki)- - [Support Language](https://github.com/RapidAI/RapidOCR/wiki/support_language)- - [ONNXRuntime inference optim](https://github.com/RapidAI/RapidOCR/wiki/ONNXRuntime%E6%8E%A8%E7%90%86%E8%B0%83%E4%BC%98%E6%8C%87%E5%8D%97)- - [RapidOCR Optim](https://github.com/RapidAI/RapidOCR/wiki/RapidOCR%E8%B0%83%E4%BC%98%E5%B0%9D%E8%AF%95%E6%95%99%E7%A8%8B)- - [config.yaml parameter](https://github.com/RapidAI/RapidOCR/wiki/config_parameter)-- [Python demo](https://github.com/RapidAI/RapidOCR/blob/main/python/README.md)-- [C++ demo(Windows/Linux/macOS)](https://github.com/RapidAI/RapidOCR/blob/main/cpp)- - [RapidOcrOnnx](https://github.com/RapidAI/RapidOcrOnnx)- - [RapidOcrNcnn](https://github.com/RapidAI/RapidOcrNcnn)-- [Jvm demo(Java/Kotlin)](https://github.com/RapidAI/RapidOCR/blob/main/jvm)- - [RapidOcrOnnxJvm](https://github.com/RapidAI/RapidOcrOnnxJvm)- - [RapidOcrNcnnJvm](https://github.com/RapidAI/RapidOcrNcnnJvm)-- [.Net demo(C#)](https://github.com/RapidAI/RapidOCRCSharp)-- [Android demo](https://github.com/RapidAI/RapidOcrAndroidOnnx)-- [API](https://github.com/RapidAI/RapidOCR/tree/main/api)-- Web demo:- - [Web OCR](https://github.com/RapidAI/RapidOCR/blob/main/ocrweb/README.md)- - [Nuitka package rapdocr_web](https://github.com/RapidAI/RapidOCR/wiki/Nuitka%E6%89%93%E5%8C%85rapidocr_web%E6%93%8D%E4%BD%9C%E6%96%87%E6%A1%A3)- - [Multi Web OCR](https://github.com/RapidAI/RapidOCR/blob/main/ocrweb_multi/README.md)-- [RapidStructure](https://github.com/RapidAI/RapidStructure)- - [orientation](https://github.com/RapidAI/RapidStructure/blob/main/docs/README_Orientation.md)- - [layout](https://github.com/RapidAI/RapidStructure/blob/main/docs/README_Layout.md)- - [table recovery](https://github.com/RapidAI/RapidStructure/blob/main/docs/README_Table.md)-- Derivatives- - [RapidOCR HTTP service/win32 program/easy language writing](https://github.com/Physton/RapidOCRServer)-- [Related projects](https://github.com/RapidAI/RapidOCR/blob/main/docs/related_projects.md)- - [RapidOCRPDF](https://github.com/RapidAI/RapidOCRPDF):extract PDF content.- - [RapidVideOCR](https://github.com/SWHL/RapidVideOCR): Extract hard subtitles in videos based on RapidOCR- - [LGPMA_Infer](https://github.com/SWHL/LGPMA_Infer): table structure restoration | [blog interpretation papers and source code](http://t.csdn.cn/QNN3S)- - [Document Unwarping-PaperEdge](https://github.com/cvlab-stonybrook/PaperEdge) | [Demo](https://huggingface.co/spaces/SWHL/PaperEdgeDemo)- - [Text Removal-CTRNet](https://github.com/lcy0604/CTRNet) | [Demo](https://huggingface.co/spaces/SWHL/CTRNetDemo)-- Model Convert- - [PaddleOCRModelConverter](https://github.com/RapidAI/PaddleOCRModelConverter)- - [Paddle2OnnxConvertor](https://github.com/RapidAI/Paddle2OnnxConvertor)- - [Teach you to use ONNXRunTime to deploy PP-OCR](https://aistudio.baidu.com/aistudio/projectdetail/1479970?channelType=0&channel=0)-- [About model](https://github.com/RapidAI/RapidOCR/blob/main/docs/models.md)- - [Model Convert](https://github.com/RapidAI/RapidOCR/blob/main/docs/models.md#模型转换)- - [Model Download](https://github.com/RapidAI/RapidOCR/blob/main/docs/models.md#模型下载)-- [FAQ](https://github.com/RapidAI/RapidOCR/blob/main/docs/FAQ.md)--## Recently updates([more](https://github.com/RapidAI/RapidOCR/wiki/Changelog))-#### 🍜2023-05-22 api update:-- Decouple the API from ocrweb and maintain it as a separate module. For details, see [API](https://github.com/RapidAI/RapidOCR/tree/main/api)-- After `rapidocr_web>0.1.6`, `pip install rapidocr_web[api]` will not be supported for installation, you can directly install and use `pip install rapidocr_api`.-#### ❤2023-05-20 ocrweb update:-- Add desktop version of RapidOCRWeb, for details, please refer to [RapidOCRWeb desktop version tutorial](https://github.com/RapidAI/RapidOCR/wiki/%5BRapidOCRWeb%5D-%E6%A1%8C%E9%9D%A2%E7%89%88%E4%BD%BF%E7%94%A8%E6%95%99%E7%A8%8B)-#### 🌹 2023-05-14 ocrweb v0.1.5 update:-- Add the return value of the interface version's return coordinate box ([issue #85](https://github.com/RapidAI/RapidOCR/issues/85))-- API mode adds base64 format input-- For details, please refer to: [link](https://github.com/RapidAI/RapidOCR/blob/main/ocrweb/README.md)--## Overall Framework-```mermaid-flowchart LR- subgraph Step- direction TB- C(Text Det) --> D(Text Cls) --> E(Text Rec)- end-- A[/OurSelf Dataset/] --> B(PaddleOCR) --Train--> Step --> F(PaddleOCRModelConverter)- F --ONNX--> G{RapidOCR Deploy\n<b>Python/C++/Java/C#</b>}- G --> H(Windows x86/x64) & I(Linux) & J(Android) & K(Web) & L(Raspberry Pi)-- click B "https://github.com/PaddlePaddle/PaddleOCR" _blank- click F "https://github.com/RapidAI/PaddleOCRModelConverter" _blank-```--## Demo-- Online demo- - For details, please refer to: [ocrweb/README](https://github.com/RapidAI/RapidOCR/blob/main/ocrweb/README.md)- - The model combination (optimal combination) used for the demo is:- ``` text- ch_PP-OCRv3_det + ch_ppocr_mobile_v2.0_cls + ch_PP-OCRv3_rec- ```- - **Demo**:- <div align="center">- <img src="https://github.com/RapidAI/RapidOCR/blob/ae529c2ba79e6cbf04c54caf2d24feb75e947ca4/assets/demo.gif" width="100%" height="100%">- </div>-- [Hugging Face Demo](https://huggingface.co/spaces/SWHL/RapidOCRDemo)- - The demo is built on Hugging Face's Spaces, generated by the Gradio library.- - Demo:- <div align="center">- <img src="https://github.com/RapidAI/RapidOCR/releases/download/v1.1.0/hf_demo.png" width="100%" height="100%">- </div>---## TODO and Task Claim-- See here: [link](https://github.com/orgs/RapidAI/projects/7)--## Original initiator and start-up author-<p align="left">- <a href="https://github.com/RapidAI/RapidOCR/graphs/contributors">- <img src="https://contrib.rocks/image?repo=RapidAI/RapidOCR" width="50%"/>- </a>-</p>--## Acknowledgements-- Many thanks to [DeliciaLaniD](https://github.com/DeliciaLaniD) for fixing the misplaced start position of scan animation in ocrweb.-- Many thanks to [zhsunlight](https://github.com/zhsunlight) for the suggestion about parameterized call GPU reasoning and the careful and thoughtful testing.-- Many thanks to [lzh111222334](https://github.com/lzh111222334) for fixing some bugs of rec preprocessing under python version.-- Many thanks to [AutumnSun1996](https://github.com/AutumnSun1996) for the suggestion in the [#42](https://github.com/RapidAI/RapidOCR/issues/42).-- Many thanks to [DeadWood8](https://github.com/DeadWood8) for providing the [document]((https://github.com/RapidAI/RapidOCR/wiki/Nuitka%E6%89%93%E5%8C%85rapidocr_web%E6%93%8D%E4%BD%9C%E6%96%87%E6%A1%A3)) which packages rapidocr_web to exe by Nuitka.-- Many thanks to [Loovelj](https://github.com/Loovelj) for fixing the bug of sorting the text boxes. For details see [issue 75](https://github.com/RapidAI/RapidOCR/issues/75).--## Sponsor--|Sponsor|Applied Products|-|:---:|:---:|-|<a href="https://github.com/cuiliang" title="cuiliang"><img src="https://avatars.githubusercontent.com/u/1972649?v=4" width=65 height=65></a>|<a href="https://getquicker.net/" title="Quicker"><img src="https://github.com/RapidAI/RapidOCR/releases/download/v1.1.0/Quicker.jpg" width=65 height=65></a>|-|<a href="https://github.com/Eunsolfs" title="Eunsolfs"><img src="https://avatars.githubusercontent.com/u/53815751?v=4" width=65 height=65></a>| - |--- If you want to sponsor the project, you can directly click the Sponsor button at the top of the current page, please write a note (e.g. your github account name) to facilitate adding to the sponsorship list above.--## Authorization-- The copyright of the OCR model belongs to Baidu, and the copyright of other engineering codes belongs to the owner of this warehouse.-- This software is licensed under LGPL. You are welcome to contribute code, submit an issue or even PR.-- If you find this project useful in your research, please consider citing:- ```latex- @misc{RapidOCR 2021,- title={{Rapid OCR}: OCR Toolbox},- author={MindSpore Team},- howpublished = {\url{https://github.com/RapidAI/RapidOCR}},- year={2021}- }- ```--## Join us-- For international developers, we regard [RapidOCR Disscussions](https://github.com/RapidAI/RapidOCR/discussions) as our international community platform. All ideas and questions can be discussed here in English.--## Demo-#### Demonstration with C++/JVM-<div align="center">- <img src="https://github.com/RapidAI/RapidOCR/blob/ae529c2ba79e6cbf04c54caf2d24feb75e947ca4/assets/demo_cpp.png" width="100%" height="100%">-</div>--#### Demonstration with .Net-<div align="center">- <img src="https://github.com/RapidAI/RapidOCR/blob/ae529c2ba79e6cbf04c54caf2d24feb75e947ca4/assets/demo_cs.png" width="100%" height="100%">-</div>--#### Demonstratioin with multi_language-<div align="center">- <img src="https://github.com/RapidAI/RapidOCR/blob/ae529c2ba79e6cbf04c54caf2d24feb75e947ca4/assets/demo_multi_language.jpg" width="80%" height="80%">-</div>diff --git a/docs/README_zh.md b/docs/README_zh.mdnew file mode 100644index 0000000..1120095--- /dev/null+++ b/docs/README_zh.md@@ -0,0 +1,209 @@++简体中文 | [English](https://github.com/RapidAI/RapidOCR/blob/main/docs/README_en.md)+<div align="center">+ <img src="https://raw.githubusercontent.com/RapidAI/RapidOCR/main/assets/RapidOCR_LOGO.png" width="65%" height="65%"/>+</div>++# 捷智OCR+*信创级开源OCR - 为世界内容安全贡献力量*++<p align="left">+ <a href="https://huggingface.co/spaces/SWHL/RapidOCRDemo" target="_blank"><img src="https://img.shields.io/badge/%F0%9F%A4%97-Hugging Face Demo-blue"></a>+ <a href="https://www.modelscope.cn/studios/liekkas/RapidOCRDemo/summary" target="_blank"><img src="https://img.shields.io/badge/ModelScope-Demo-blue"></a>+ <a href="https://colab.research.google.com/github/RapidAI/RapidOCR/blob/main/assets/RapidOCRDemo.ipynb" target="_blank"><img src="https://raw.githubusercontent.com/RapidAI/RapidOCR/main/assets/colab-badge.svg" alt="Open in Colab"></a>+ <a href="https://aistudio.baidu.com/aistudio/projectdetail/4444785?sUid=57084&shared=1&ts=1660896122332" target="_blank"><img src="https://img.shields.io/badge/PP-Open in AI Studio-blue.svg"></a><br/>+ <a href=""><img src="https://img.shields.io/badge/Python->=3.6,<3.12-aff.svg"></a>+ <a href=""><img src="https://img.shields.io/badge/OS-Linux%2C%20Win%2C%20Mac-pink.svg"></a>+ <a href="https://github.com/RapidAI/RapidOCR/graphs/contributors"><img src="https://img.shields.io/github/contributors/RapidAI/RapidOCR?color=9ea"></a>+ <a href="https://pepy.tech/project/rapidocr_onnxruntime"><img src="https://static.pepy.tech/personalized-badge/rapidocr_onnxruntime?period=total&units=abbreviation&left_color=grey&right_color=blue&left_text=Downloads%20Ort"></a>+ <a href="https://pypi.org/project/rapidocr-onnxruntime/"><img alt="PyPI" src="https://img.shields.io/pypi/v/rapidocr-onnxruntime"></a>+ <a href="https://github.com/RapidAI/RapidOCR/stargazers"><img src="https://img.shields.io/github/stars/RapidAI/RapidOCR?color=ccf"></a>+ <a href='https://rapidocr.readthedocs.io/en/latest/?badge=latest'>+ <img src='https://readthedocs.org/projects/rapidocr/badge/?version=latest' alt='Documentation Status' />+ </a>+ <a href="https://semver.org/"><img alt="SemVer2.0" src="https://img.shields.io/badge/SemVer-2.0-brightgreen"></a>+ <a href="https://github.com/psf/black"><img src="https://img.shields.io/badge/code%20style-black-000000.svg"></a>+</p>+++<details>+ <summary>目录</summary>++- [捷智OCR](#捷智ocr)+ - [商业支持](#商业支持)+ - [简介](#简介)+ - [文档导航](#文档导航)+ - [生态框架](#生态框架)+ - [在线demo](#在线demo)+ - [更新日志(more)](#更新日志more)+ - [TODO以及任务认领](#todo以及任务认领)+ - [原始发起者及初创作者](#原始发起者及初创作者)+ - [致谢](#致谢)+ - [赞助](#赞助)+ - [版权声明](#版权声明)+ - [授权](#授权)+ - [加入我们](#加入我们)+ - [示例图](#示例图)+ - [C++/JVM示例图像](#cjvm示例图像)+ - [.Net示例图像](#net示例图像)+ - [多语言示例图像](#多语言示例图像)+</details>++## 商业支持+- 🎉🎉🎉 推出知识星球[RapidAI私享群](https://t.zsxq.com/0duLBZczw),这里的提问会优先得到回答和支持,也会享受到RapidAI组织后续持续优质的服务,欢迎大家的加入。+- 提供信创平台多架构,包括**Arm/X86/mips(龙芯)/RISC-V**等信创CPU支持,同时兼容**ONNXRuntime/OpenVINO/NCNN**。有意者邮件联系: [email protected], 请先邮件咨询服务项目,即时回复联系方式。+- 提供国产操作系统(海光、中科方德、麒麟等等)OCR Docker部署服务,有意者 → ✉ [email protected]。++## 简介+- 💖目前已知**运行速度最快、支持最广**,完全开源免费并支持离线快速部署的多平台多语言OCR。+- **支持的语言**: 默认是中英文,其他语言识别需要自助转换。具体参考[这里](https://github.com/RapidAI/RapidOCR/wiki/support_language)+- **缘起**:百度paddlepaddle工程化不是太好,为了方便大家在各种端上进行ocr推理,我们将它转换为onnx格式,使用`Python/C++/Java/Swift/C#` 将它移植到各个平台。+- **名称来源**: 轻快好省并智能。基于深度学习技术的OCR技术,主打人工智能优势及小模型,以速度为使命,效果为主导。+- **使用**:+ - 如果仓库下已有模型满足要求 → RapidOCR部署使用即可。+ - 不满足要求 → 基于[PaddleOCR](https://github.com/PaddlePaddle/PaddleOCR)在自己数据上微调 → RapidOCR部署。+- 如果该仓库有帮助到你,还请点个小星星⭐呗!++## 文档导航+- [Wiki](https://github.com/RapidAI/RapidOCR/wiki)+ - [自定义识别模型](https://github.com/RapidAI/RapidOCR/wiki/support_language)+ - [ONNXRuntime推理调优指南](https://github.com/RapidAI/RapidOCR/wiki/ONNXRuntime%E6%8E%A8%E7%90%86%E8%B0%83%E4%BC%98%E6%8C%87%E5%8D%97)+ - [RapidOCR调优尝试教程](https://github.com/RapidAI/RapidOCR/wiki/RapidOCR%E8%B0%83%E4%BC%98%E5%B0%9D%E8%AF%95%E6%95%99%E7%A8%8B)+ - [OpenVINO推理](https://github.com/RapidAI/RapidOCR/wiki/openvino%E6%8E%A8%E7%90%86)+ - [config.yaml参数详解](https://github.com/RapidAI/RapidOCR/wiki/config_parameter)+- [Python范例](https://github.com/RapidAI/RapidOCR/blob/main/python/README.md)+- [C++范例(Windows/Linux/macOS)](https://github.com/RapidAI/RapidOCR/blob/main/cpp)+ - [RapidOcrOnnx](https://github.com/RapidAI/RapidOcrOnnx)+ - [RapidOcrNcnn](https://github.com/RapidAI/RapidOcrNcnn)+- [Jvm范例(Java/Kotlin)](https://github.com/RapidAI/RapidOCR/blob/main/jvm)+ - [RapidOcrOnnxJvm](https://github.com/RapidAI/RapidOcrOnnxJvm)+ - [RapidOcrNcnnJvm](https://github.com/RapidAI/RapidOcrNcnnJvm)+- [.Net范例(C#)](https://github.com/RapidAI/RapidOCRCSharp)+- [Android范例](https://github.com/RapidAI/RapidOcrAndroidOnnx)+- 网页版范例+ - [网页版OCR](https://github.com/RapidAI/RapidOCR/blob/main/ocrweb/README.md)+ - [Nuitka打包rapdocr_web](https://github.com/RapidAI/RapidOCR/wiki/Nuitka%E6%89%93%E5%8C%85rapidocr_web%E6%93%8D%E4%BD%9C%E6%96%87%E6%A1%A3)+ - [多语言网页版OCR](https://github.com/RapidAI/RapidOCR/blob/main/ocrweb_multi/README.md)+- [API版](https://github.com/RapidAI/RapidOCR/tree/main/api)+- [版面结构化-RapidStructure](https://github.com/RapidAI/RapidStructure)+ - [含文本的图像方向分类](https://github.com/RapidAI/RapidStructure/blob/main/docs/README_Orientation.md)+ - [版面分析](https://github.com/RapidAI/RapidStructure/blob/main/docs/README_Layout.md)+ - [表格还原](https://github.com/RapidAI/RapidStructure/blob/main/docs/README_Table.md)+- 衍生项目+ - [RapidOCR HTTP服务/win32程序/易语言编写](https://github.com/Physton/RapidOCRServer)+- [垂直项目](https://github.com/RapidAI/RapidOCR/blob/main/docs/related_projects.md)+ - [RapidOCRPDF](https://github.com/RapidAI/RapidOCRPDF):解析PDF文件+ - [RapidVideOCR](https://github.com/SWHL/RapidVideOCR):基于RapidOCR,提取视频中的硬字幕+ - [LGPMA_Infer](https://github.com/SWHL/LGPMA_Infer): 表格结构还原 | [博客解读论文和源码](http://t.csdn.cn/QNN3S)+ - [PaperEdge](https://github.com/cvlab-stonybrook/PaperEdge):文档图像矫正 | [Demo](https://huggingface.co/spaces/SWHL/PaperEdgeDemo)+ - [CTRNet](https://github.com/lcy0604/CTRNet):图像文字擦除 | [Demo](https://huggingface.co/spaces/SWHL/CTRNetDemo)+- [模型相关](https://github.com/RapidAI/RapidOCR/wiki/%E6%A8%A1%E5%9E%8B%E7%9B%B8%E5%85%B3)+- [常见问题 FAQ](https://github.com/RapidAI/RapidOCR/wiki/FAQ)+++## 生态框架+```mermaid+flowchart LR+ subgraph Step+ direction TB+ C(Text Det) --> D(Text Cls) --> E(Text Rec)+ end++ A[/OurSelf Dataset/] --> B(PaddleOCR) --Train--> Step --> F(PaddleOCRModelConverter)+ F --ONNX--> G{RapidOCR Deploy\n<b>Python/C++/Java/C#</b>}+ G --> H(Windows x86/x64) & I(Linux) & J(Android) & K(Web) & L(Raspberry Pi)++ click B "https://github.com/PaddlePaddle/PaddleOCR" _blank+ click F "https://github.com/RapidAI/PaddleOCRModelConverter" _blank+```++## 在线demo+- 自建在线demo+ - 详情参见:[ocrweb/README](https://github.com/RapidAI/RapidOCR/blob/main/ocrweb/README.md)+ - **demo所用模型组合(最优组合)为**:+ ```text+ ch_PP-OCRv3_det + ch_ppocr_mobile_v2.0_cls + ch_PP-OCRv3_rec+ ```+ - **示例图**:+ <div align="center">+ <img src="https://github.com/RapidAI/RapidOCR/blob/ae529c2ba79e6cbf04c54caf2d24feb75e947ca4/assets/demo.gif" width="100%" height="100%">+ </div>+- [Hugging Face Demo](https://huggingface.co/spaces/SWHL/RapidOCRDemo)+ - 该demo依托于Hugging Face的Spaces构建,采用Gradio库搭建。+ - 示例图:+ <div align="center">+ <img src="https://github.com/RapidAI/RapidOCR/releases/download/v1.1.0/hf_demo.png" width="100%" height="100%">+ </div>++## 更新日志([more](https://github.com/RapidAI/RapidOCR/wiki/%E6%9B%B4%E6%96%B0%E6%97%A5%E5%BF%97_rapidocr))+- [rapidocr](https://github.com/RapidAI/RapidOCR/wiki/%E6%9B%B4%E6%96%B0%E6%97%A5%E5%BF%97_rapidocr)+- [rapidocr_web](https://github.com/RapidAI/RapidOCR/wiki/%E6%9B%B4%E6%96%B0%E6%97%A5%E5%BF%97_ocrweb)+- [rapidocr_api](https://github.com/RapidAI/RapidOCR/wiki/%E6%9B%B4%E6%96%B0%E6%97%A5%E5%BF%97_rapid_api)++## TODO以及任务认领+- 参见这里:[link](https://github.com/orgs/RapidAI/projects/7)++## 原始发起者及初创作者+<p align="left">+ <a href="https://github.com/RapidAI/RapidOCR/graphs/contributors">+ <img src="https://contrib.rocks/image?repo=RapidAI/RapidOCR" width="50%"/>+ </a>+</p>+++## 致谢+- 非常感谢[DeliciaLaniD](https://github.com/DeliciaLaniD)修复ocrweb中扫描动画起始位置错位问题。+- 非常感谢[zhsunlight](https://github.com/zhsunlight)关于参数化调用GPU推理的建议以及细致周到的测试。+- 非常感谢[lzh111222334](https://github.com/lzh111222334)修复python版本下rec前处理部分bug。+- 非常感谢[AutumnSun1996](https://github.com/AutumnSun1996)在[#42](https://github.com/RapidAI/RapidOCR/issues/42)中的建议。+- 非常感谢[DeadWood8](https://github.com/DeadWood8)提供了[Nuitka打包rapidocr_web的操作文档和可执行exe](https://github.com/RapidAI/RapidOCR/wiki/Nuitka%E6%89%93%E5%8C%85rapidocr_web%E6%93%8D%E4%BD%9C%E6%96%87%E6%A1%A3)。+- 非常感谢[Loovelj](https://github.com/Loovelj)指出对文本检测框排序时顺序问题,详情参见[issue 75](https://github.com/RapidAI/RapidOCR/issues/75)。++## 赞助+|赞助者|应用的产品|+|:---:|:---:|+|<a href="https://github.com/cuiliang" title="cuiliang"><img src="https://avatars.githubusercontent.com/u/1972649?v=4" width=65 height=65></a>|<a href="https://getquicker.net/" title="Quicker指尖工具箱"><img src="https://github.com/RapidAI/RapidOCR/releases/download/v1.1.0/Quicker.jpg" width=65 height=65></a>|+|<a href="https://github.com/Eunsolfs" title="Eunsolfs"><img src="https://avatars.githubusercontent.com/u/53815751?v=4" width=65 height=65></a>| - |++- 如果您想要赞助该项目,可直接点击当前页最上面的Sponsor按钮,请写好备注(**您的Github账号名称**),方便添加到上面赞助列表中。+++## 版权声明+- 如果你的产品使用了本仓库中的全部或部分代码、文字或材料+- 如果你的研究用到了该项目,可以如下引用:+ ```latex+ @misc{RapidOCR 2021,+ title={{Rapid OCR}: OCR Toolbox},+ author={MindSpore Team},+ howpublished = {\url{https://github.com/RapidAI/RapidOCR}},+ year={2021}+ }+ ```++## 授权+- OCR模型版权归百度所有,其它工程代码版权归本仓库所有者所有。+- 本软件采用Apache 授权方式,欢迎大家贡献代码,提交issue 甚至PR。++## 加入我们+- 微信扫描以下二维码,关注**RapidAI公众号**,回复OCR即可加入RapidOCR微信交流群:+ <div align="center">+ <img src="https://raw.githubusercontent.com/RapidAI/.github/main/assets/RapidAI_WeChatAccount.jpg" width="25%" height="25%" align="center">+ </div>++- 欢迎加入我们的QQ群下载模型及测试程序。1群:~887298230~ 已满,2群:~755960114~ 已满,3群:450338158++## 示例图+#### C++/JVM示例图像+<div align="center">+ <img src="https://github.com/RapidAI/RapidOCR/blob/ae529c2ba79e6cbf04c54caf2d24feb75e947ca4/assets/demo_cpp.png" width="100%" height="100%">+</div>++#### .Net示例图像+<div align="center">+ <img src="https://github.com/RapidAI/RapidOCR/blob/ae529c2ba79e6cbf04c54caf2d24feb75e947ca4/assets/demo_cs.png" width="100%" height="100%">+</div>++#### 多语言示例图像+<div align="center">+ <img src="https://github.com/RapidAI/RapidOCR/blob/ae529c2ba79e6cbf04c54caf2d24feb75e947ca4/assets/demo_multi_language.jpg" width="80%" height="80%">+</div>