Skip to content

Commit

Permalink
docs: Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
SWHL committed Jul 15, 2024
1 parent dd366c3 commit f6ce5b2
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 58 deletions.
55 changes: 26 additions & 29 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,49 +29,47 @@
[简体中文](./docs/README_zh.md) | English
</div>


### Introduction
- The fastest running, most widely supported, completely open source and free multi-platform, multi-language OCR known to support rapid offline deployment.
- **Supported Languages**: The default is Chinese and English, other language recognition requires self-service conversion. For specific reference [here](https://rapidai.github.io/RapidOCRDocs/blog/2022/09/28/%E6%94%AF%E6%8C%81%E8%AF%86%E5%88%AB%E8%AF%AD%E8%A8%80/).
- **Cause**: [PaddleOCR](https://github.com/PaddlePaddle/PaddleOCR) is not well engineered, and to make it easier for people to do OCR inference on various ends, we converted the model in PaddleOCR to ONNX format and ported it to various platforms using `Python/C++/Java/C#`.
- **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. Fine-tune your own data → RapidOCR deployment.
-If this repo is helpful to you, please click on a small star ⭐ Bah!

💖 The fastest running, most widely supported, completely open source and free multi-platform, multi-language OCR known to support rapid offline deployment. It features ONNXRuntime inference engine inference, which is 4~5 times faster than PaddlePaddle inference engine and has no memory leak problem.

**Supported Languages**: The default is Chinese and English, other language recognition requires self-service conversion. For specific reference [here](https://rapidai.github.io/RapidOCRDocs/blog/2022/09/28/%E6%94%AF%E6%8C%81%E8%AF%86%E5%88%AB%E8%AF%AD%E8%A8%80/).

**Cause**: [PaddleOCR](https://github.com/PaddlePaddle/PaddleOCR) is not well engineered, and to make it easier for people to do OCR inference on various ends, we converted the model in PaddleOCR to ONNX format and ported it to various platforms using `Python/C++/Java/C#`.

**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. Fine-tune your own data → RapidOCR deployment.

### [Demo](https://huggingface.co/spaces/SWHL/RapidOCRDemo)
If this repo is helpful to you, please click on a small star ⭐ Bah!

### Visualization

<div align="center">
<img src="https://github.com/RapidAI/RapidOCR/releases/download/v1.1.0/hf_demo_part.png" alt="Demo" width="100%" height="100%">
<img src="https://github.com/RapidAI/RapidOCR/releases/download/v1.1.0/demo.gif" alt="Demo" width="100%" height="100%">
</div>

### Installation

```bash
pip install rapidocr_onnxruntime
```

### Usage

```bash
rapidocr_onnxruntime -img 1.jpg
```

### Related projects overview
> In the table below, except for the **Evaluation Collection** part which is hosted under the [Hugging Face](https://huggingface.co/SWHL) Community, the rest are all under Github. The details are as follows:
>
> The first line is the function introduction.
>
> The second line is the corresponding warehouse name. You can directly search for the name on Github.
<div>
<img src="https://github.com/RapidAI/RapidOCRDocs/releases/download/assets/RapidOCR_RelatedProjectsEn.png">
</div>

### Documentation

Full documentation can be found on [docs](https://rapidai.github.io/RapidOCRDocs/), in Chinese.

### 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.
Expand All @@ -80,16 +78,14 @@ Full documentation can be found on [docs](https://rapidai.github.io/RapidOCRDocs
- 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).

### Code Contributors

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

### Contributing
- Pull requests are welcome. For major changes, please open an issue first
to discuss what you would like to change.
- Please make sure to update tests as appropriate.
s

### [Sponsor](https://rapidai.github.io/RapidOCRDocs/sponsor/)

Expand All @@ -98,17 +94,18 @@ to discuss what you would like to change.
> If you want to sponsor the project, you can directly click the **Buy me a coffee** image, please write a note (e.g. your github account name) to facilitate adding to the sponsorship list below.
>
> <div align="left">
> <a href="https://www.buymeacoffee.com/SWHL"><img src="https://raw.githubusercontent.com/RapidAI/.github/main/assets/buymeacoffe.png" width="30%" height="30%"></a>
> <a href="https://www.buymeacoffee.com/SWHL"><img src="https://raw.githubusercontent.com/RapidAI/.github/main/assets/buymeacoffe.png" width="30%" height="30%"></a>
> </div>
| 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> | - |


### Citation

If you find this project useful in your research, please consider cite:

```bibtex
@misc{RapidOCR 2021,
title={{Rapid OCR}: OCR Toolbox},
Expand All @@ -122,8 +119,8 @@ If you find this project useful in your research, please consider cite:

[![Stargazers over time](https://starchart.cc/RapidAI/RapidOCR.svg)](https://starchart.cc/RapidAI/RapidOCR)


### License

The copyright of the OCR model is held by Baidu, while the copyrights of all other engineering scripts are retained by the repository's owner.

This project is released under the [Apache 2.0 license](./LICENSE).
45 changes: 16 additions & 29 deletions docs/README_zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,19 +32,25 @@

### 简介

- 💖目前已知**运行速度最快、支持最广**,完全开源免费并支持离线快速部署的多平台多语言OCR。
- **支持语言**:默认是中英文,其他语言识别需要自助转换。具体参考[这里](https://rapidai.github.io/RapidOCRDocs/blog/2022/09/28/%E6%94%AF%E6%8C%81%E8%AF%86%E5%88%AB%E8%AF%AD%E8%A8%80/)
- **缘起**:因为[PaddleOCR](https://github.com/PaddlePaddle/PaddleOCR)工程化尚有提升空间,为了方便在各种端上进行OCR推理,我们将PaddleOCR中的模型转换为ONNX格式,使用`Python/C++/Java/C#` 将它移植到各个平台,方便大家使用。
- **名称来源**:轻快好省并智能。基于深度学习的OCR技术,主打人工智能优势及小模型,以速度为使命,效果为导向。
- **使用**
- 如果仓库下已有模型满足要求 → RapidOCR部署使用即可。
- 不满足要求 → 基于PaddleOCR在自己数据上微调 → RapidOCR部署。
- 如果该仓库有帮助到你,还请点个小星星⭐呗!
💖目前已知**运行速度最快、支持最广**,完全开源免费并支持离线快速部署的多平台多语言OCR。主打ONNXRuntime推理引擎推理,比PaddlePaddle推理引擎速度有4~5倍提升,且没有内存泄露问题。

### [Demo](https://www.modelscope.cn/studios/liekkas/RapidOCRDemo/summary)
**支持语言**:默认是中英文,其他语言识别需要自助转换。具体参考[这里](https://rapidai.github.io/RapidOCRDocs/blog/2022/09/28/%E6%94%AF%E6%8C%81%E8%AF%86%E5%88%AB%E8%AF%AD%E8%A8%80/)

**缘起**:因为[PaddleOCR](https://github.com/PaddlePaddle/PaddleOCR)工程化尚有提升空间,为了方便在各种端上进行OCR推理,我们将PaddleOCR中的模型转换为ONNX格式,使用`Python/C++/Java/C#` 将它移植到各个平台,方便大家使用。

**名称来源**:轻快好省并智能。基于深度学习的OCR技术,主打人工智能优势及小模型,以速度为使命,效果为导向。

**使用**

- 如果仓库下已有模型满足要求 → RapidOCR部署使用即可。
- 不满足要求 → 基于PaddleOCR在自己数据上微调 → RapidOCR部署。

如果该仓库有帮助到你,还请点个小星星⭐呗!

### 效果展示

<div align="center">
<img src="https://github.com/RapidAI/RapidOCR/releases/download/v1.1.0/hf_demo_part.png" alt="Demo" width="100%" height="100%">
<img src="https://github.com/RapidAI/RapidOCR/releases/download/v1.1.0/demo.gif" alt="Demo" width="100%" height="100%">
</div>

### 安装
Expand All @@ -59,18 +65,6 @@ pip install rapidocr_onnxruntime
rapidocr_onnxruntime -img 1.jpg
```

### 相关产品概览图
>
> 下图表格中,除**测评集**部分托管在[Hugging Face](https://huggingface.co/SWHL)下,其余均在Github下,详细介绍如下:
>
> 第一行是功能介绍
>
> 第二行是对应的仓库名称,可直接去Github搜索该名称即可。
<div>
<img src="https://github.com/RapidAI/RapidOCRDocs/releases/download/assets/RapidOCR_RelatedProjects.png">
</div>

### 文档

完整文档请移步:[docs](https://rapidai.github.io/RapidOCRDocs)
Expand All @@ -92,13 +86,6 @@ rapidocr_onnxruntime -img 1.jpg
</a>
</p>

### 贡献指南

我们感谢所有的贡献者为改进和提升 RapidOCR 所作出的努力。

- 欢迎提交请求。对于重大更改,请先打开issue讨论您想要改变的内容。
- 请确保适当更新测试。

### 加入我们

- 微信扫描以下二维码,关注**RapidAI公众号**,回复**OCR**即可加入RapidOCR微信交流群:
Expand Down

0 comments on commit f6ce5b2

Please sign in to comment.