Skip to content

Commit 377d521

Browse files
committed
chore: update files
1 parent a4dabdb commit 377d521

File tree

2 files changed

+19
-2
lines changed

2 files changed

+19
-2
lines changed

docs/blog/posts/about_model/adapt_PP-OCRv4_server_rec_doc.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,4 +216,18 @@ result.vis("vis_result.jpg")
216216

217217
#### 更改rapidocr代码适配
218218

219-
该部分主要涉及到更改
219+
该部分主要涉及到更改[default_models.yaml](https://github.com/RapidAI/RapidOCR/blob/4d35ed272a1192afbcb95e823d99eb14c86b7893/python/rapidocr/default_models.yaml)[paddle.py](https://github.com/RapidAI/RapidOCR/blob/4d35ed272a1192afbcb95e823d99eb14c86b7893/python/rapidocr/inference_engine/paddle.py)的代码来适配。
220+
221+
同时,需要添加对应的单元测试,在保证之前单测成功的同时,新的针对性该模型的单测也能通过。
222+
223+
我这里已经做完了,小伙伴们感兴趣可以去看看源码。
224+
225+
#### 发布新版本
226+
227+
因为这次算是功能新增,按照语义化版本号来看,我们版本号需要从v2.0.7 → v2.1.0。
228+
229+
我只需要在github仓库中,打一个v2.1.0的tag,Github Action会自动跑所有单元测试,自动发版到pypi。
230+
231+
### 写在最后
232+
233+
至此,集成工作就基本完成了。

docs/blog/posts/about_model/model_summary.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
---
22
title: 开源OCR模型对比
3-
date: 2022-04-16
3+
date:
4+
created: 2022-04-16
5+
updated: 2025-05-17
46
authors: [SWHL]
57
categories:
68
- 模型相关
@@ -89,6 +91,7 @@ comments: true
8991
|ch_PP-OCRv4_rec_infer.onnx | release/v2.7 | 10M | 0.8323 | 0.9355 | 0.6836 |
9092
|ch_PP-OCRv3_rec_infer.onnx | release/v2.6 | 11M | 0.7097 | 0.8919 | 0.6362 |
9193
|ch_PP-OCRv4_rec_server_infer.onnx | release/v2.7 | 86M | 0.7968 | 0.9381 | 0.6967 |
94+
|ch_doc_PP-OCRv4_rec_server.onnx | release/v2.10 | 94.93M | 0.8097 | 0.9444 | 0.6836 |
9295
|ch_PP-OCRv2_rec_infer.onnx | release/v2.3 | 8.0M | 0.6387 | 0.8398 | 0.6138|
9396
|ch_ppocr_mobile_v2.0_rec_infer.onnx | release/v2.0 | 4.3M | 0.5323 | 0.7823 | 0.5575|
9497
|[读光-文字识别-行识别模型-中英-文档印刷体文本领域](https://www.modelscope.cn/models/iic/cv_convnextTiny_ocr-recognition-document_damo/summary) | - | 73M | 0.5968 | 0.7705 | - |

0 commit comments

Comments
 (0)