Skip to content

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

Update action about two_dim_image.npy file

SWHL65369c41f0f0
diff --git a/.github/workflows/gen_whl_to_pypi_rapidocr_ort.yml b/.github/workflows/gen_whl_to_pypi_rapidocr_ort.yml
index 8578bb6..560e7db 100644
--- a/.github/workflows/gen_whl_to_pypi_rapidocr_ort.yml
+++ b/.github/workflows/gen_whl_to_pypi_rapidocr_ort.yml
@@ -13,7 +13,6 @@ on:
env:
RESOURCES_URL: https://github.com/RapidAI/RapidOCR/releases/download/v1.1.0/required_for_whl_v1.3.0.zip
- TWO_DIM_IMAGE: https://github.com/RapidAI/RapidOCR/releases/download/v1.1.0/two_dim_image.npy
jobs:
UnitTesting:
@@ -38,12 +37,12 @@ jobs:
DIR_NAME=${ZIP_NAME%.*}
unzip $DIR_NAME
cp $DIR_NAME/resources/models/*.onnx python/rapidocr_onnxruntime/models/
+
cd python
pip install -r requirements_ort.txt
pip install pytest wheel get_pypi_latest_version openvino
+
cd tests
- wget $TWO_DIM_IMAGE -O two_dim_image.npy
- mv two_dim_image.npy test_files/
pytest test_ort.py
GenerateWHL_PushPyPi:
diff --git a/.github/workflows/gen_whl_to_pypi_rapidocr_paddle.yml b/.github/workflows/gen_whl_to_pypi_rapidocr_paddle.yml
index 2626d87..7286fd1 100644
--- a/.github/workflows/gen_whl_to_pypi_rapidocr_paddle.yml
+++ b/.github/workflows/gen_whl_to_pypi_rapidocr_paddle.yml
@@ -13,7 +13,6 @@ on:
env:
RESOURCES_URL: https://github.com/RapidAI/RapidOCR/releases/download/v1.1.0/paddle_models_v4.zip
- TWO_DIM_IMAGE: https://github.com/RapidAI/RapidOCR/releases/download/v1.1.0/two_dim_image.npy
jobs:
UnitTesting:
@@ -42,8 +41,6 @@ jobs:
pip install -r requirements_paddle.txt
pip install pytest wheel get_pypi_latest_version paddlepaddle
cd tests
- wget $TWO_DIM_IMAGE -O two_dim_image.npy
- mv two_dim_image.npy test_files/
pytest test_paddle.py
GenerateWHL_PushPyPi:
diff --git a/.github/workflows/gen_whl_to_pypi_rapidocr_vino.yml b/.github/workflows/gen_whl_to_pypi_rapidocr_vino.yml
index dff426a..f98159a 100644
--- a/.github/workflows/gen_whl_to_pypi_rapidocr_vino.yml
+++ b/.github/workflows/gen_whl_to_pypi_rapidocr_vino.yml
@@ -13,7 +13,6 @@ on:
env:
RESOURCES_URL: https://github.com/RapidAI/RapidOCR/releases/download/v1.1.0/required_for_whl_v1.3.0.zip
- TWO_DIM_IMAGE: https://github.com/RapidAI/RapidOCR/releases/download/v1.1.0/two_dim_image.npy
jobs:
UnitTesting:
@@ -42,8 +41,6 @@ jobs:
pip install -r requirements_vino.txt
pip install pytest wheel get_pypi_latest_version onnxruntime
cd tests
- wget $TWO_DIM_IMAGE -O two_dim_image.npy
- mv two_dim_image.npy test_files/
pytest test_vino.py
GenerateWHL_PushPyPi: