Skip to content

Commit

Permalink
Add giscus
Browse files Browse the repository at this point in the history
  • Loading branch information
SWHL committed Apr 24, 2024
1 parent 9af691e commit 3ce4f1a
Show file tree
Hide file tree
Showing 37 changed files with 664 additions and 11 deletions.
17 changes: 17 additions & 0 deletions content/docs/about_model/convert_model.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,20 @@ toc: true
- [Hugging Face](https://huggingface.co/spaces/SWHL/PaddleOCRModelConverter)

### [离线转换](https://github.com/RapidAI/PaddleOCRModelConverter)

<script src="https://giscus.app/client.js"
data-repo="RapidAI/RapidOCRDocs"
data-repo-id="R_kgDOKS1JHQ"
data-category="Q&A"
data-category-id="DIC_kwDOKS1JHc4Ce5E0"
data-mapping="title"
data-strict="0"
data-reactions-enabled="1"
data-emit-metadata="0"
data-input-position="top"
data-theme="preferred_color_scheme"
data-lang="zh-CN"
data-loading="lazy"
crossorigin="anonymous"
async>
</script>
17 changes: 17 additions & 0 deletions content/docs/about_model/custom_different_model.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,20 @@ result, elapse = model(img_path)
print(result)
print(elapse)
```

<script src="https://giscus.app/client.js"
data-repo="RapidAI/RapidOCRDocs"
data-repo-id="R_kgDOKS1JHQ"
data-category="Q&A"
data-category-id="DIC_kwDOKS1JHc4Ce5E0"
data-mapping="title"
data-strict="0"
data-reactions-enabled="1"
data-emit-metadata="0"
data-input-position="top"
data-theme="preferred_color_scheme"
data-lang="zh-CN"
data-loading="lazy"
crossorigin="anonymous"
async>
</script>
20 changes: 19 additions & 1 deletion content/docs/about_model/download_onnx.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,22 @@ toc: true

### [Google网盘](https://drive.google.com/drive/folders/1x_a9KpCo_1blxH1xFOfgKVkw1HYRVywY?usp=sharing)

### [百度网盘](https://pan.baidu.com/s/1CHOXNJLZundoV_8bNpcpWQ?pwd=9h6g)
### [百度网盘](https://pan.baidu.com/s/1CHOXNJLZundoV_8bNpcpWQ?pwd=9h6g)


<script src="https://giscus.app/client.js"
data-repo="RapidAI/RapidOCRDocs"
data-repo-id="R_kgDOKS1JHQ"
data-category="Q&A"
data-category-id="DIC_kwDOKS1JHc4Ce5E0"
data-mapping="title"
data-strict="0"
data-reactions-enabled="1"
data-emit-metadata="0"
data-input-position="top"
data-theme="preferred_color_scheme"
data-lang="zh-CN"
data-loading="lazy"
crossorigin="anonymous"
async>
</script>
17 changes: 17 additions & 0 deletions content/docs/about_model/model_summary.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,3 +119,20 @@ katex: true
rec_img_shape=[3, 32, 320],
)
```

<script src="https://giscus.app/client.js"
data-repo="RapidAI/RapidOCRDocs"
data-repo-id="R_kgDOKS1JHQ"
data-category="Q&A"
data-category-id="DIC_kwDOKS1JHc4Ce5E0"
data-mapping="title"
data-strict="0"
data-reactions-enabled="1"
data-emit-metadata="0"
data-input-position="top"
data-theme="preferred_color_scheme"
data-lang="zh-CN"
data-loading="lazy"
crossorigin="anonymous"
async>
</script>
20 changes: 19 additions & 1 deletion content/docs/about_model/support_language.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,22 @@ toc: true
- PaddleOCR已有文本识别模型列表: [link](https://github.com/PaddlePaddle/PaddleOCR/blob/release/2.6/doc/doc_ch/models_list.md#2-%E6%96%87%E6%9C%AC%E8%AF%86%E5%88%AB%E6%A8%A1%E5%9E%8B)
- 除了slim量化版的模型,上面链接中的其他模型都可以转换为ONNX格式,通过RapidOCR快速部署。

### [转换教程](./convert_model.md)
### [转换教程](./convert_model.md)


<script src="https://giscus.app/client.js"
data-repo="RapidAI/RapidOCRDocs"
data-repo-id="R_kgDOKS1JHQ"
data-category="Q&A"
data-category-id="DIC_kwDOKS1JHc4Ce5E0"
data-mapping="title"
data-strict="0"
data-reactions-enabled="1"
data-emit-metadata="0"
data-input-position="top"
data-theme="preferred_color_scheme"
data-lang="zh-CN"
data-loading="lazy"
crossorigin="anonymous"
async>
</script>
17 changes: 17 additions & 0 deletions content/docs/blog/01_optim_tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,3 +81,20 @@ description: ""
#### 情况二:轻量中英文模型对个别英文或数字识别错误
1. 更换不同版本的识别模型,包括`v2``v3``server`版尝试
2. 如果是只识别英文单词和数字,可以更换英文和数字专有模型(`en_PP-OCRv3_rec_infer.onnx``en_number_mobile_v2.0_rec_infer.onnx`

<script src="https://giscus.app/client.js"
data-repo="RapidAI/RapidOCRDocs"
data-repo-id="R_kgDOKS1JHQ"
data-category="Q&A"
data-category-id="DIC_kwDOKS1JHc4Ce5E0"
data-mapping="title"
data-strict="0"
data-reactions-enabled="1"
data-emit-metadata="0"
data-input-position="top"
data-theme="preferred_color_scheme"
data-lang="zh-CN"
data-loading="lazy"
crossorigin="anonymous"
async>
</script>
18 changes: 18 additions & 0 deletions content/docs/blog/02_config_parameter.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,3 +122,21 @@ Rec:
|:------------ | :----------: | :-----: | :----------------------------------------------|
|`rec_img_shape`| - |`[3, 48, 320]`| 输入文本识别模型的图像Shape(CHW) |
|`rec_batch_num`| - | 6 | 批次推理的batch大小,一般采用默认值即可,太大并没有明显提速,效果还可能会差 |


<script src="https://giscus.app/client.js"
data-repo="RapidAI/RapidOCRDocs"
data-repo-id="R_kgDOKS1JHQ"
data-category="Q&A"
data-category-id="DIC_kwDOKS1JHc4Ce5E0"
data-mapping="title"
data-strict="0"
data-reactions-enabled="1"
data-emit-metadata="0"
data-input-position="top"
data-theme="preferred_color_scheme"
data-lang="zh-CN"
data-loading="lazy"
crossorigin="anonymous"
async>
</script>
17 changes: 17 additions & 0 deletions content/docs/blog/03_which_inference.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,20 @@ description: ""
|:---|:---:|:---:|
|`rapidocr_onnxruntime`|||
|`rapidocr_openvino`|||

<script src="https://giscus.app/client.js"
data-repo="RapidAI/RapidOCRDocs"
data-repo-id="R_kgDOKS1JHQ"
data-category="Q&A"
data-category-id="DIC_kwDOKS1JHc4Ce5E0"
data-mapping="title"
data-strict="0"
data-reactions-enabled="1"
data-emit-metadata="0"
data-input-position="top"
data-theme="preferred_color_scheme"
data-lang="zh-CN"
data-loading="lazy"
crossorigin="anonymous"
async>
</script>
19 changes: 18 additions & 1 deletion content/docs/blog/04_inference_summary.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,4 +64,21 @@ FastDeploy是一款全场景、易用灵活、极致高效的AI推理部署工
### [PaddleX](https://ai.baidu.com/ai-doc/AISTUDIO/Zlisojzjs)
PaddleX 集成飞桨智能视觉领域图像分类、目标检测、语义分割、实例分割任务能力,将深度学习开发全流程从数据准备、模型训练与优化到多端部署端到端打通,并提供统一任务API接口及图形化开发界面Demo。开发者无需分别安装不同套件,以低代码的形式即可快速完成飞桨全流程开发。

总结来说,PaddleX就是一个整合已有模型的低代码平台。严格意义来说,不算一个推理引擎。
总结来说,PaddleX就是一个整合已有模型的低代码平台。严格意义来说,不算一个推理引擎。

<script src="https://giscus.app/client.js"
data-repo="RapidAI/RapidOCRDocs"
data-repo-id="R_kgDOKS1JHQ"
data-category="Q&A"
data-category-id="DIC_kwDOKS1JHc4Ce5E0"
data-mapping="title"
data-strict="0"
data-reactions-enabled="1"
data-emit-metadata="0"
data-input-position="top"
data-theme="preferred_color_scheme"
data-lang="zh-CN"
data-loading="lazy"
crossorigin="anonymous"
async>
</script>
17 changes: 17 additions & 0 deletions content/docs/blog/05_rec_dict_onnx.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,3 +53,20 @@ chars = metamap['dictionary'].splitlines()
# 读取shape键对应的值
input_shape = json.loads(metamap['shape'])
```

<script src="https://giscus.app/client.js"
data-repo="RapidAI/RapidOCRDocs"
data-repo-id="R_kgDOKS1JHQ"
data-category="Q&A"
data-category-id="DIC_kwDOKS1JHc4Ce5E0"
data-mapping="title"
data-strict="0"
data-reactions-enabled="1"
data-emit-metadata="0"
data-input-position="top"
data-theme="preferred_color_scheme"
data-lang="zh-CN"
data-loading="lazy"
crossorigin="anonymous"
async>
</script>
20 changes: 19 additions & 1 deletion content/docs/business_support.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,22 @@ toc: true

#### 服务三:国产操作系统OCR Docker部署
- 提供国产操作系统(**海光、中科方德、麒麟**等等)OCR Docker部署服务。
- 有意者 → ✉ [email protected]
- 有意者 → ✉ [email protected]


<script src="https://giscus.app/client.js"
data-repo="RapidAI/RapidOCRDocs"
data-repo-id="R_kgDOKS1JHQ"
data-category="Q&A"
data-category-id="DIC_kwDOKS1JHc4Ce5E0"
data-mapping="title"
data-strict="0"
data-reactions-enabled="1"
data-emit-metadata="0"
data-input-position="top"
data-theme="preferred_color_scheme"
data-lang="zh-CN"
data-loading="lazy"
crossorigin="anonymous"
async>
</script>
18 changes: 18 additions & 0 deletions content/docs/changelog/rapidocr.md
Original file line number Diff line number Diff line change
Expand Up @@ -207,3 +207,21 @@ Merge [PR #151](https://github.com/RapidAI/RapidOCR/pull/151) by [LWQ2EDU](https
#### 2021-03-24 udpate:
- 新模型已经完全兼容ONNXRuntime 1.7 或更高版本。 特别感谢:@Channingss
- 新版onnxruntime比1.6.0 性能提升40%以上。


<script src="https://giscus.app/client.js"
data-repo="RapidAI/RapidOCRDocs"
data-repo-id="R_kgDOKS1JHQ"
data-category="Q&A"
data-category-id="DIC_kwDOKS1JHc4Ce5E0"
data-mapping="title"
data-strict="0"
data-reactions-enabled="1"
data-emit-metadata="0"
data-input-position="top"
data-theme="preferred_color_scheme"
data-lang="zh-CN"
data-loading="lazy"
crossorigin="anonymous"
async>
</script>
18 changes: 18 additions & 0 deletions content/docs/changelog/rapidocr_api.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,21 @@ description: ""
#### 🍜2023-05-22 api update:
- 将API从ocrweb中解耦出来,作为单独模块维护,详情参见[API](https://github.com/RapidAI/RapidOCR/tree/main/api)
- `rapidocr_web>0.1.6`之后,将不支持`pip install rapidocr_web[api]`方式安装,可直接`pip install rapidocr_api`安装使用。


<script src="https://giscus.app/client.js"
data-repo="RapidAI/RapidOCRDocs"
data-repo-id="R_kgDOKS1JHQ"
data-category="Q&A"
data-category-id="DIC_kwDOKS1JHc4Ce5E0"
data-mapping="title"
data-strict="0"
data-reactions-enabled="1"
data-emit-metadata="0"
data-input-position="top"
data-theme="preferred_color_scheme"
data-lang="zh-CN"
data-loading="lazy"
crossorigin="anonymous"
async>
</script>
18 changes: 18 additions & 0 deletions content/docs/changelog/rapidocr_paddle.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,21 @@ description: ""

#### 2023-10-23 v1.3.9 update:
首次适配PaddlePaddle框架,作为GPU端推理引擎


<script src="https://giscus.app/client.js"
data-repo="RapidAI/RapidOCRDocs"
data-repo-id="R_kgDOKS1JHQ"
data-category="Q&A"
data-category-id="DIC_kwDOKS1JHc4Ce5E0"
data-mapping="title"
data-strict="0"
data-reactions-enabled="1"
data-emit-metadata="0"
data-input-position="top"
data-theme="preferred_color_scheme"
data-lang="zh-CN"
data-loading="lazy"
crossorigin="anonymous"
async>
</script>
18 changes: 18 additions & 0 deletions content/docs/changelog/rapidocr_web.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,21 @@ description: ""
- API部署改为FastAPI库支持
- 将API模式与Web解耦合,可通过`pip install rapidocr_web[api]`来选择性安装
- 详情参见:[link](https://github.com/RapidAI/RapidOCR/blob/main/ocrweb/README.md)


<script src="https://giscus.app/client.js"
data-repo="RapidAI/RapidOCRDocs"
data-repo-id="R_kgDOKS1JHQ"
data-category="Q&A"
data-category-id="DIC_kwDOKS1JHc4Ce5E0"
data-mapping="title"
data-strict="0"
data-reactions-enabled="1"
data-emit-metadata="0"
data-input-position="top"
data-theme="preferred_color_scheme"
data-lang="zh-CN"
data-loading="lazy"
crossorigin="anonymous"
async>
</script>
18 changes: 18 additions & 0 deletions content/docs/communicate.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,21 @@ toc: true
<div align="center">
<img src="https://github.com/RapidAI/RapidOCR/releases/download/v1.1.0/QQChannel.jpg" width="25%" height="25%">
</div>


<script src="https://giscus.app/client.js"
data-repo="RapidAI/RapidOCRDocs"
data-repo-id="R_kgDOKS1JHQ"
data-category="Q&A"
data-category-id="DIC_kwDOKS1JHc4Ce5E0"
data-mapping="title"
data-strict="0"
data-reactions-enabled="1"
data-emit-metadata="0"
data-input-position="top"
data-theme="preferred_color_scheme"
data-lang="zh-CN"
data-loading="lazy"
crossorigin="anonymous"
async>
</script>
19 changes: 18 additions & 1 deletion content/docs/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,21 @@ toc: true
**A:** 由于模型只支持`onnxruntime=1.5.0`导致,请更新模型,下载地址见`Q3`

#### Q: 边缘总有一行文字无法识别,怎么办?
**A:** 在 padding 参数中添加一个值 ,默认是0,你可以添加5或10, 甚至更大,直到能识别为止。注意不要添加过大,会浪费内存。
**A:** 在 padding 参数中添加一个值 ,默认是0,你可以添加5或10, 甚至更大,直到能识别为止。注意不要添加过大,会浪费内存。

<script src="https://giscus.app/client.js"
data-repo="RapidAI/RapidOCRDocs"
data-repo-id="R_kgDOKS1JHQ"
data-category="Q&A"
data-category-id="DIC_kwDOKS1JHc4Ce5E0"
data-mapping="title"
data-strict="0"
data-reactions-enabled="1"
data-emit-metadata="0"
data-input-position="top"
data-theme="preferred_color_scheme"
data-lang="zh-CN"
data-loading="lazy"
crossorigin="anonymous"
async>
</script>
Loading

0 comments on commit 3ce4f1a

Please sign in to comment.