Skip to content

πŸ“„ Awesome OCR multiple programing languages toolkits based on ONNX Runtime, OpenVINO, MNN, PaddlePaddle, TensorRT and PyTorch.

docs: update use

SWHL5454bd0457c0
diff --git a/README.md b/README.md
index 53b9881..26134bd 100755
--- a/README.md
+++ b/README.md
@@ -66,9 +66,11 @@ from rapidocr import RapidOCR
engine = RapidOCR()
-img_path = "tests/test_files/ch_en_num.jpg"
+img_url = "https://github.com/RapidAI/RapidOCR/blob/main/python/tests/test_files/ch_en_num.jpg?raw=true"
result = engine(img_path)
print(result)
+
+result.vis()
```
### Documentation
diff --git a/docs/README_zh.md b/docs/README_zh.md
index 73c75dc..417e5b4 100644
--- a/docs/README_zh.md
+++ b/docs/README_zh.md
@@ -67,9 +67,11 @@ from rapidocr import RapidOCR
engine = RapidOCR()
-img_path = "tests/test_files/ch_en_num.jpg"
+img_url = "https://github.com/RapidAI/RapidOCR/blob/main/python/tests/test_files/ch_en_num.jpg?raw=true"
result = engine(img_path)
print(result)
+
+result.vis()
```
### ζ–‡ζ‘£