Skip to content

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

docs: fixed usage error of README

SWHL68c3dba55dff
diff --git a/README.md b/README.md
index 26134bd..8640240 100755
--- a/README.md
+++ b/README.md
@@ -67,7 +67,7 @@ from rapidocr import RapidOCR
engine = RapidOCR()
img_url = "https://github.com/RapidAI/RapidOCR/blob/main/python/tests/test_files/ch_en_num.jpg?raw=true"
-result = engine(img_path)
+result = engine(img_url)
print(result)
result.vis()
diff --git a/docs/README_zh.md b/docs/README_zh.md
index 417e5b4..9027ba7 100644
--- a/docs/README_zh.md
+++ b/docs/README_zh.md
@@ -68,7 +68,7 @@ from rapidocr import RapidOCR
engine = RapidOCR()
img_url = "https://github.com/RapidAI/RapidOCR/blob/main/python/tests/test_files/ch_en_num.jpg?raw=true"
-result = engine(img_path)
+result = engine(img_url)
print(result)
result.vis()