Skip to content

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

Fix bug of action

SWHL1441e54f8585
diff --git a/.github/workflows/gen_whl_to_pypi_rapid_table.yml b/.github/workflows/gen_whl_to_pypi_rapid_table.yml
index 9e75779..dca4179 100644
--- a/.github/workflows/gen_whl_to_pypi_rapid_table.yml
+++ b/.github/workflows/gen_whl_to_pypi_rapid_table.yml
@@ -45,7 +45,7 @@ jobs:
move rapid_table_models\* python\rapid_structure\rapid_table\models\
cd python/rapid_structure
pip install -r requirements.txt
- pip install onnxruntime
+ pip install onnxruntime rapidocr_onnxruntime
cd tests
pytest test_table.py
diff --git a/python/rapid_structure/tests/test_layout.py b/python/rapid_structure/tests/test_layout.py
index 47f5f33..636c51e 100644
--- a/python/rapid_structure/tests/test_layout.py
+++ b/python/rapid_structure/tests/test_layout.py
@@ -15,7 +15,7 @@ from rapid_layout import RapidLayout
def test_layout():
- img_path = str(root_dir / 'test_images' / 'ch.png')
+ img_path = str(root_dir / 'test_images' / 'layout.png')
img = cv2.imread(img_path)
layout_engine = RapidLayout()