Skip to content

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

Remove the large test files

SWHLfb3886a5b70b
diff --git a/python/tests/test_files/two_dim_image.npy b/python/tests/test_files/two_dim_image.npy
index c373986..d759b0a 100644
Binary files a/python/tests/test_files/two_dim_image.npy and b/python/tests/test_files/two_dim_image.npy differ
diff --git a/python/tests/test_ort.py b/python/tests/test_ort.py
index da4fa53..5e6de36 100644
--- a/python/tests/test_ort.py
+++ b/python/tests/test_ort.py
@@ -141,7 +141,8 @@ def test_input_three_ndim_two_channel():
image_array = np.load(str(img_npy))
result, _ = engine(image_array)
- assert len(result) == 87
+ assert len(result) == 1
+ assert result[0][1] == " TREND PLOT REPORT"
def test_input_three_ndim_one_channel():
diff --git a/python/tests/test_paddle.py b/python/tests/test_paddle.py
index 73a0b43..af344ce 100644
--- a/python/tests/test_paddle.py
+++ b/python/tests/test_paddle.py
@@ -141,7 +141,8 @@ def test_input_three_ndim_two_channel():
image_array = np.load(str(img_npy))
result, _ = engine(image_array)
- assert len(result) == 87
+ assert len(result) == 1
+ assert result[0][1] == " TREND PLOT REPORT"
def test_input_three_ndim_one_channel():
diff --git a/python/tests/test_vino.py b/python/tests/test_vino.py
index 69cb146..5f5f619 100644
--- a/python/tests/test_vino.py
+++ b/python/tests/test_vino.py
@@ -141,7 +141,8 @@ def test_input_three_ndim_two_channel():
image_array = np.load(str(img_npy))
result, _ = engine(image_array)
- assert len(result) == 87
+ assert len(result) == 1
+ assert result[0][1] == " TREND PLOT REPORT"
def test_input_three_ndim_one_channel():