Skip to content

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

Add visualize demo of rapid_layout.

SWHL947c6958d30f
diff --git a/README.md b/README.md
index 3b74eb9..711641b 100755
--- a/README.md
+++ b/README.md
@@ -237,7 +237,7 @@ flowchart LR
- 用QQ扫描以下二维码:
<div align="center">
- <img src="./assets/qq_team.bmp" width="25%" height="25%" align="center">
+ <img src="./assets/qq_team.jpg" width="25%" height="25%" align="center">
</div>
## 示例图
@@ -253,5 +253,5 @@ flowchart LR
#### 多语言示例图像
<div align="center">
- <img src="./assets/demo_multi_language.png" width="80%" height="80%">
+ <img src="./assets/demo_multi_language.jpg" width="80%" height="80%">
</div>
diff --git a/assets/demo_multi_language.jpg b/assets/demo_multi_language.jpg
new file mode 100644
index 0000000..ba5aaf2
Binary files /dev/null and b/assets/demo_multi_language.jpg differ
diff --git a/assets/demo_multi_language.png b/assets/demo_multi_language.png
deleted file mode 100644
index f9998ca..0000000
Binary files a/assets/demo_multi_language.png and /dev/null differ
diff --git a/assets/qq_team.bmp b/assets/qq_team.bmp
deleted file mode 100644
index 75947b8..0000000
Binary files a/assets/qq_team.bmp and /dev/null differ
diff --git a/assets/qq_team.jpg b/assets/qq_team.jpg
new file mode 100644
index 0000000..2a57b21
Binary files /dev/null and b/assets/qq_team.jpg differ
diff --git a/docs/README_en.md b/docs/README_en.md
index 09ab782..063ada2 100644
--- a/docs/README_en.md
+++ b/docs/README_en.md
@@ -224,7 +224,7 @@ Since ubuntu users are all commercial users and have the ability to compile, pre
- Scan the following QR code with QQ:
<div align="center">
- <img src="../assets/qq_team.bmp" width="25%" height="25%" align="center">
+ <img src="../assets/qq_team.jpg" width="25%" height="25%" align="center">
</div>
## Demo
@@ -240,5 +240,5 @@ Since ubuntu users are all commercial users and have the ability to compile, pre
#### Demonstratioin with multi_language
<div align="center">
- <img src="../assets/demo_multi_language.png" width="80%" height="80%">
+ <img src="../assets/demo_multi_language.jpg" width="80%" height="80%">
</div>
diff --git a/docs/doc_whl_layout.md b/docs/doc_whl_layout.md
index d280990..e7d4f72 100644
--- a/docs/doc_whl_layout.md
+++ b/docs/doc_whl_layout.md
@@ -27,10 +27,15 @@ print(layout_res)
$ rapid_layout --img_path test_images/ch.png
```
-### 4. Result
-```text
-[
- {'bbox': array([321.4160495, 91.53214898, 562.06141263, 199.85522603]), 'label': 'text'},
- {'bbox': array([58.67292211, 107.29000663, 300.25448676, 199.68142]), 'label': 'table_caption'}
-]
-```
+### 4. Result.
+- Return value.
+ ```text
+ [
+ {'bbox': array([321.4160495, 91.53214898, 562.06141263, 199.85522603]), 'label': 'text'},
+ {'bbox': array([58.67292211, 107.29000663, 300.25448676, 199.68142]), 'label': 'table_caption'}
+ ]
+ ```
+- Visualize result.
+ <div align="center">
+ <img src="./test_images/layout_result.jpg" width="80%" height="80%">
+ </div>
diff --git a/python/rapid_structure/README.md b/python/rapid_structure/README.md
index b49df8f..caf82e5 100644
--- a/python/rapid_structure/README.md
+++ b/python/rapid_structure/README.md
@@ -36,6 +36,10 @@
# 假设在rapid_structure目录下
$ rapid_layout --img_path test_images/ch.png
```
+4. 可视化结果
+ <div align="center">
+ <img src="./test_images/layout_result.jpg" width="80%" height="80%">
+ </div>
#### 输出结果
- 格式为:
diff --git a/python/rapid_structure/test_images/layout_result.jpg b/python/rapid_structure/test_images/layout_result.jpg
new file mode 100644
index 0000000..4d34ac1
Binary files /dev/null and b/python/rapid_structure/test_images/layout_result.jpg differ