📄 Awesome OCR multiple programing languages toolkits based on ONNX Runtime, OpenVINO, MNN, PaddlePaddle, TensorRT and PyTorch.
Update README
SWHL05f60dd68fbd
diff --git a/README.md b/README.mdindex 2d3e922..1e69b4d 100755--- a/README.md+++ b/README.md@@ -23,6 +23,7 @@- [RapidOCR (捷智OCR)](#rapidocr-捷智ocr)- [简介](#简介)- [近期更新(more)](#近期更新more)+ - [🏝2022-06-30 update:](#2022-06-30-update)- [📌2022-06-25 update:](#2022-06-25-update)- [🥟2022-05-25 update](#2022-05-25-update)- [🍿2022-05-15 update](#2022-05-15-update)@@ -61,6 +62,11 @@- 基于百度的开源PaddleOCR 模型及训练,任何人可以使用本推理库,也可以根据自己的需求使用百度的paddlepaddle框架进行模型优化。## 近期更新([more](./docs/change_log.md))+#### 🏝2022-06-30 update:+- python推理部分,增加参数选择使用GPU推理的配置选项,在正确安装`onnxruntime-gpu`版本前提下,可以一键使用(Fix [issue#30](https://github.com/RapidAI/RapidOCR/issues/30))+- 具体基于GPU的推理情况,需要等我后续整理一下,再更新出来+- 详情参见:[onnxruntime-gpu版推理配置](./python/README.md#onnxruntime-gpu版推理配置)+#### 📌2022-06-25 update:- 重新整理python部分推理代码,将常用调节参数全部放到yaml文件中,便于调节,更加容易使用,详情参见:[README](./python/README.md)- 之前旧的推理代码位于分支:[old_python_infer](https://github.com/RapidAI/RapidOCR/tree/old_python_infer)@@ -184,7 +190,8 @@</p>## 致谢-- 非常感谢[DeliciaLaniD](https://github.com/DeliciaLaniD)修复ocrweb中扫描动画起始位置错位问题+- 非常感谢[DeliciaLaniD](https://github.com/DeliciaLaniD)修复ocrweb中扫描动画起始位置错位问题。+- 非常感谢[zhsunlight](https://github.com/zhsunlight)关于参数化调用GPU推理的建议。## 版权声明- 如果你的产品使用了本仓库中的全部或部分代码、文字或材料diff --git a/docs/README_en.md b/docs/README_en.mdindex cd07508..09c3bbf 100644--- a/docs/README_en.md+++ b/docs/README_en.md@@ -22,7 +22,8 @@- [RapidOCR](#rapidocr)- [Introduction](#introduction)- [Recently updates(more)](#recently-updatesmore)- - [📌2022-06-25 update:](#2022-06-25-update)+ - [🏝2022-06-30 update:](#2022-06-30-update)+ - [📌2022-06-25 update:](#2022-06-25-update)- [🍿2022-05-15 update](#2022-05-15-update)- [😀2022-05-12 upadte](#2022-05-12-upadte)- [🎧2022-04-04 update](#2022-04-04-update)@@ -39,6 +40,7 @@- [Text Recognition](#text-recognition)- [PaddleOCR-FAQ](#paddleocr-faq)- [Original initiator and start-up author](#original-initiator-and-start-up-author)+ - [Acknowledgements](#acknowledgements)- [Authorization](#authorization)- [Contact us](#contact-us)- [Demo](#demo)@@ -58,7 +60,12 @@- Based on Baidu's open source PaddleOCR model and training, anyone can use this inference library, or use Baidu's paddlepaddle framework for model optimization according to their own needs.## Recently updates([more](./change_log_en.md))-### 📌2022-06-25 update:+#### 🏝2022-06-30 update:+- In the python inference section, add a configuration option for whether to use GPU inference, which can be used with one click if the `onnxruntime-gpu` version is correctly installed (Fix [issue#30](https://github.com/RapidAI/RapidOCR/issues/30))+- The specific GPU-based reasoning will need to wait for me to sort it out and update it later.+- For details, see: [onnxruntime-gpu version reasoning configuration](./python/README.md#onnxruntime-gpu version reasoning configuration)++#### 📌2022-06-25 update:- Reorganize some of the python inference code, put all the common adjustment parameters into the yaml file, easy to adjust, easier to use, see: [README](./python/README.md)- The old inference code is located in the branch: [old_python_infer](https://github.com/RapidAI/RapidOCR/tree/old_python_infer)@@ -167,6 +174,10 @@ Since ubuntu users are all commercial users and have the ability to compile, pre<a href="https://github.com/SWHL"><img src="https://avatars.githubusercontent.com/u/28639377?v=4" width=65 height=65></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 parametric call GPU inference.+## 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.diff --git a/docs/change_log.md b/docs/change_log.mdindex 390067d..e30bb99 100644--- a/docs/change_log.md+++ b/docs/change_log.md@@ -1,3 +1,8 @@+#### 🏝2022-06-30 update:+- python推理部分,增加参数选择使用GPU推理的配置选项,在正确安装`onnxruntime-gpu`版本前提下,可以一键使用(Fix [issue#30](https://github.com/RapidAI/RapidOCR/issues/30))+- 具体基于GPU的推理情况,需要等我后续整理一下,再更新出来+- 详情参见:[onnxruntime-gpu版推理配置](./python/README.md#onnxruntime-gpu版推理配置)+#### 📌2022-06-25 update:- 重新整理python部分推理代码,将常用调节参数全部放到yaml文件中,便于调节,更加容易使用- 详情参见:[README](./python/README.md)diff --git a/docs/change_log_en.md b/docs/change_log_en.mdindex 3149706..b44b52c 100644--- a/docs/change_log_en.md+++ b/docs/change_log_en.md@@ -1,3 +1,8 @@+#### 🏝2022-06-30 update:+- In the python inference section, add a configuration option for whether to use GPU inference, which can be used with one click if the `onnxruntime-gpu` version is correctly installed (Fix [issue#30](https://github.com/RapidAI/RapidOCR/issues/30))+- The specific GPU-based reasoning will need to wait for me to sort it out and update it later.+- For details, see: [onnxruntime-gpu version reasoning configuration](./python/README.md#onnxruntime-gpu version reasoning configuration)+#### 📌2022-06-25 update:- Reorganize some of the python inference code, put all the common adjustment parameters into the yaml file, easy to adjust, easier to use, see: [README](./python/README.md)- The old inference code is located in the branch: [old_python_infer](https://github.com/RapidAI/RapidOCR/tree/old_python_infer)diff --git a/python/README.md b/python/README.mdindex fd73b15..09f32a7 100755--- a/python/README.md+++ b/python/README.md@@ -137,7 +137,7 @@```bash$ pip install onnxruntime-gpu==1.xxx```-2. 更改[`config.yaml`]((./config.yaml))中对应部分的参数即可,详细参数介绍参见[官方文档](https://onnxruntime.ai/docs/execution-providers/CUDA-ExecutionProvider.html)。+2. 更改[`config.yaml`](./config.yaml)中对应部分的参数即可,详细参数介绍参见[官方文档](https://onnxruntime.ai/docs/execution-providers/CUDA-ExecutionProvider.html)。```yamluse_cuda: trueCUDAExecutionProvider: