Skip to content

📄 Awesome OCR multiple programing languages toolkits based on ONNX Runtime, OpenVINO, MNN, PaddlePaddle, TensorRT and PyTorch.

Update pre-commit

SWHL54e2b0b25f8a
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
new file mode 100644
index 0000000..1e920f7
--- /dev/null
+++ b/.pre-commit-config.yaml
@@ -0,0 +1,17 @@
+repos:
+- repo: https://gitee.com/SWHL/autoflake
+ rev: v2.1.1
+ hooks:
+ - id: autoflake
+ args:
+ [
+ "--recursive",
+ "--in-place",
+ "--remove-all-unused-imports",
+ "--remove-unused-variable",
+ "--ignore-init-module-imports",
+ ]
+- repo: https://gitee.com/SWHL/black
+ rev: 23.1.0
+ hooks:
+ - id: black
\ No newline at end of file
diff --git a/LICENSE b/LICENSE
index 261eeb9..6e32fc8 100644
--- a/LICENSE
+++ b/LICENSE
@@ -1,3 +1,5 @@
+Copyright (c) 2021 RapidOCR Authors. All rights reserved.
+
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
@@ -186,7 +188,7 @@
same "printed page" as the copyright notice for easier
identification within third-party archives.
- Copyright [yyyy] [name of copyright owner]
+ Copyright (c) 2021 RapidOCR Authors. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@@ -198,4 +200,4 @@
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
- limitations under the License.
+ limitations under the License.
\ No newline at end of file
diff --git a/README.md b/README.md
index 8326137..405f833 100755
--- a/README.md
+++ b/README.md
@@ -178,7 +178,16 @@ flowchart LR
## 版权声明
- 如果你的产品使用了本仓库中的全部或部分代码、文字或材料
-- 请注明出处并包括我们的github url: `https://github.com/RapidAI/RapidOCR`
+- 如果你的研究用到了该项目,可以如下引用:
+- 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}
+ }
+ ```
## 授权
- OCR模型版权归百度所有,其它工程代码版权归本仓库所有者所有。
diff --git a/docs/README_en.md b/docs/README_en.md
index 28be215..2924303 100644
--- a/docs/README_en.md
+++ b/docs/README_en.md
@@ -173,6 +173,15 @@ flowchart LR
## 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.