📄 Awesome OCR multiple programing languages toolkits based on ONNX Runtime, OpenVINO, MNN, PaddlePaddle, TensorRT and PyTorch.
Update README and add PP-OCRv2 onnx models
SWHLb09eafe9b5ab
diff --git a/README.md b/README.mdindex 1165b78..7edf2bb 100755--- a/README.md+++ b/README.md@@ -13,13 +13,15 @@- [RapidOCR (捷智OCR)](#rapidocr-捷智ocr)- [简介](#简介)- [近期更新](#近期更新)- - [🍸2021-08-07 update](#2021-08-07-update)- - [2021-07-17 update](#2021-07-17-update)- - [2021-07-04 update](#2021-07-04-update)- - [2021-06-20 update](#2021-06-20-update)- - [2021-06-10 update](#2021-06-10-update)- - [2021-06-08 update](#2021-06-08-update)- - [2021-03-24 update](#2021-03-24-update)+ - [✨2021-09-11 update](#2021-09-11-update)+ - [2021-08-07 update](#2021-08-07-update)+ - [之前更新记录](#之前更新记录)+ - [2021-07-17 update](#2021-07-17-update)+ - [2021-07-04 update](#2021-07-04-update)+ - [2021-06-20 update](#2021-06-20-update)+ - [2021-06-10 update](#2021-06-10-update)+ - [2021-06-08 update](#2021-06-08-update)+ - [2021-03-24 update](#2021-03-24-update)- [整个框架](#整个框架)- [常见问题 FAQ](#常见问题--faq)- [SDK 编译状态](#sdk-编译状态)@@ -50,7 +52,15 @@- 基于百度的开源PaddleOCR 模型及训练,任何人可以使用本推理库,也可以根据自己的需求使用百度的paddlepaddle框架进行模型优化。## 近期更新-#### 🍸2021-08-07 update+#### ✨2021-09-11 update+- 添加PP-OCRv2新增模型onnx版本+ - 使用方法推理代码不变,直接替换对应模型即可。+- 经过在自有测试集上评测:+ - PP-OCRv2检测模型效果有大幅度提升,模型大小没变。+ - PP-OCRv2识别模型效果无明显提升,模型大小增加了3.58M。+- 模型上传到[百度网盘 提取码:30jv](https://pan.baidu.com/s/1qkqWK4wRdMjqGGbzR-FyWg)++#### 2021-08-07 update- 现在正在做的- [ ] PP-Structure 表格结构和cell坐标预测 正在整理中@@ -58,31 +68,32 @@- [ ] 打Dokcer镜像- [ ] 尝试onnxruntime-gpu推理-#### 2021-07-17 update+#### 之前更新记录+<details>+ <summary>点击查看</summary>++##### 2021-07-17 update- 完善README文档- 增加**英文、数字识别**onnx模型,具体参见`python/en_number_ppocr_mobile_v2_rec`,用法同其他- 整理一下[模型转onnx](#模型转onnx)-<details>- <summary>之前更新记录</summary>--#### 2021-07-04 update+##### 2021-07-04 update- 目前仓库下的python程序已经可以在树莓派4B上,成功运行,详细信息请进群,询问群主- 更新整体结构图,添加树莓派的支持-#### 2021-06-20 update+##### 2021-06-20 update- 优化ocrweb中识别结果显示,同时添加识别动图演示- 更新`datasets`目录,添加一些常用数据库链接(搬运一下^-^)- 更新[FAQ](./FAQ.md)-#### 2021-06-10 update+##### 2021-06-10 update- 添加server版文本识别模型,详情见[提取码:30jv](https://pan.baidu.com/s/1qkqWK4wRdMjqGGbzR-FyWg)-#### 2021-06-08 update+##### 2021-06-08 update- 整理仓库,统一模型下载路径- 完善相关说明文档-#### 2021-03-24 update+##### 2021-03-24 update- 新模型已经完全兼容ONNXRuntime 1.7 或更高版本。 特别感谢:@Channingss- 新版onnxruntime比1.6.0 性能提升40%以上。@@ -148,17 +159,22 @@## 模型相关#### 可以直接下载使用的模型 (下载链接:[提取码:30jv](https://pan.baidu.com/s/1qkqWK4wRdMjqGGbzR-FyWg))- ```text- ch_ppocr_mobile_v2.0_det_infer.onnx- ch_ppocr_mobile_v2.0_cls_infer.onnx- ch_ppocr_mobile_v2.0_rec_infer.onnx- ch_ppocr_server_v2.0_det_infer.onnx- ch_ppocr_server_v2.0_rec_infer.onnx+|模型名称|模型简介|模型大小|备注|+|:---:|:---:|:---:|:---:|+|⭐ ch_PP-OCRv2_det_infer.onnx|轻量文本检测模型|2.23M|较v1轻量检测,精度有较大提升|+|⭐ ch_PP-OCRv2_rec_infer.onnx|轻量文本识别模型|7.79M||+|||||+|ch_ppocr_mobile_v2.0_det_infer.onnx|轻量文本检测模型|2.23M|PP-OCRv1|+|ch_ppocr_mobile_v2.0_cls_infer.onnx|轻量文本方向分类模型|571KB|PP-OCRv1|+|ch_ppocr_mobile_v2.0_rec_infer.onnx|轻量文本识别模型|4.21M|PP-OCRv1|+|||||+|ch_ppocr_server_v2.0_det_infer.onnx|服务器版文本检测模型|46.60M|PP-OCRv1|+|ch_ppocr_server_v2.0_rec_infer.onnx|服务器版文本识别模型|106M|PP-OCRv1|+|||||+|japan_rec_crnn.onnx|轻量日语识别模型|3.38M|PP-OCRv1|+|en_number_mobile_v2.0_rec_infer.onnx|轻量英文和数字识别模型|1.79M|PP-OCRv1|- japan_rec_crnn.onnx- en_number_mobile_v2.0_rec_infer.onnx- ```#### 模型转onnx- [手把手教你使用ONNXRunTime部署PP-OCR](https://aistudio.baidu.com/aistudio/projectdetail/1479970?channelType=0&channel=0) by @Channingss- [✧✧PaddleOCRModelConverter](https://github.com/RapidAI/PaddleOCRModelConverter) by @[SWHL](https://github.com/SWHL)