File tree Expand file tree Collapse file tree 4 files changed +66
-2
lines changed
Expand file tree Collapse file tree 4 files changed +66
-2
lines changed Original file line number Diff line number Diff line change @@ -214,7 +214,9 @@ python tools/eval.py --config configs/rec/crnn/crnn_resnet34.yaml
214214
215215# ### Inference with MX Engine
216216
217- Please refer to [mx_infer](docs/cn/inference_cn.md)
217+ Please refer to [mx_infer](docs/cn/inference_tutorial_cn.md) for tutorial
218+
219+ Please refer to [mx_infer](docs/cn/inference_models_cn.md) for models list and benchmark
218220
219221# ### Inference with Lite
220222
Original file line number Diff line number Diff line change @@ -214,7 +214,9 @@ python tools/eval.py --config configs/rec/crnn/crnn_resnet34.yaml
214214
215215# ### 使用MX Engine推理
216216
217- 请参考[mx_infer](docs/cn/inference_cn.md)
217+ 教程请参考[mx_infer](docs/cn/inference_tutorial_cn.md)
218+
219+ 模型列表和Benchmark请参考 [mx_infer](docs/cn/inference_models_cn.md)
218220
219221# ### 使用Lite推理
220222
Original file line number Diff line number Diff line change 1+ ### MindOCR推理
2+
3+ #### 支持模型列表
4+
5+ ##### 文本检测
6+
7+ | 模型 | 链接 | 来源 |
8+ | -------------| ------------------------------------------------------------------------------------| -----------|
9+ | DBNet_Res18 | https://paddleocr.bj.bcebos.com/dygraph_v2.0/ch/ch_ppocr_server_v2.0_det_infer.tar | PaddleOCR |
10+ | DBNet_MV3 | https://paddleocr.bj.bcebos.com/PP-OCRv3/chinese/ch_PP-OCRv3_det_infer.tar | PaddleOCR |
11+
12+ ##### 文本方向分类
13+
14+ | 模型 | 链接 | 来源 |
15+ | -----| ------------------------------------------------------------------------------------| -----------|
16+ | MV3 | https://paddleocr.bj.bcebos.com/dygraph_v2.0/ch/ch_ppocr_mobile_v2.0_cls_infer.tar | PaddleOCR |
17+
18+ ##### 文本识别
19+
20+ | 模型 | 链接 | 来源 |
21+ | ------| ------------------------------------------------------------------------------------| -----------|
22+ | CRNN | https://paddleocr.bj.bcebos.com/dygraph_v2.0/ch/ch_ppocr_server_v2.0_rec_infer.tar | PaddleOCR |
23+ | SVTR | https://paddleocr.bj.bcebos.com/PP-OCRv3/chinese/ch_PP-OCRv3_rec_infer.tar | PaddleOCR |
24+
25+ #### Benchmark
26+
27+ 1 . 测试数据
28+
29+ 数据集:ICDAR2019-LSVT
30+
31+ 下载链接:https://rrc.cvc.uab.es/?ch=16
32+
33+ 数据描述:30000张,街景图像,比如各种店铺招牌和地标等
34+
35+
36+ 2 . 测试环境
37+
38+ Device: Ascend310P
39+
40+ MindX: 3.0.0
41+
42+ CANN: 6.3
43+
44+ CPU: Intel(R) Xeon(R) Gold 6148, 2.40GHz, 2x20 physical cores
45+
46+ 3 . 评估说明
47+
48+ - 性能:包括从图像输入到结果输出的完整阶段,设置mindocr推理命令--save_log_dir参数,保存日志中会记录性能数据
49+ - 精度:参考评估脚本 mindocr/deploy/eval_utils/eval_script.py,输出结果包括文本检测的Precision、Recall和F-score,文本识别的Accuracy
50+
51+ 4 . 精度和性能评估结果
52+
53+ 文本检测+方向分类+文本识别的端到端流水线评估结果如下:
54+
55+ | 检测 | 分类 | 识别 | Precision | Recall | F-score | Accuracy | FPS |
56+ | ----------- | ---- | ---- | --------- | ------ | ------- | -------- | ----- |
57+ | DBNet_Res18 | / | CRNN | 69.42% | 55.01% | 61.38% | 47.12% | 38.59 |
58+ | DBNet_Res18 | MV3 | CRNN | 69.42% | 55.01% | 61.38% | 46.85% | 37.40 |
59+ | DBNet_MV3 | / | SVTR | 67.01% | 56.34% | 61.21% | 46.77% | 46.65 |
60+ | DBNet_MV3 | MV3 | SVTR | 67.01% | 56.34% | 61.21% | 46.45% | 42.81 |
File renamed without changes.
You can’t perform that action at this time.
0 commit comments