From 385b06cc5c4978465c05e80a89699b81aa4cc0e6 Mon Sep 17 00:00:00 2001 From: Zhou Date: Sun, 26 Mar 2023 11:37:22 +0800 Subject: [PATCH] fix error in unit test README bump opencv-python-headless version so it runs on python 3.11+ --- requirements.txt | 2 +- unit_test/README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/requirements.txt b/requirements.txt index 9a62026ed2..9d0fb7b710 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,6 +1,6 @@ torch torchvision>=0.5 -opencv-python-headless<=4.5.4.60 +opencv-python-headless scipy numpy Pillow diff --git a/unit_test/README.md b/unit_test/README.md index f88bd75ff0..78d8ca5496 100644 --- a/unit_test/README.md +++ b/unit_test/README.md @@ -9,7 +9,7 @@ This module can be used as a typical python module. One python wrapper script an ### Python script (*recommneded*) The script can be called with (assuming calling from `EasyOCR/`); ``` -python ./unit_test/run_unit_test.py --easyocr ./easyocr --verbose 2 --test ./unit_test/EasyOcrUnitTestPackage.pickle --data_dir ./examples +python ./unit_test/run_unit_test.py --easyocr ./easyocr --verbose 2 --test ./unit_test/data/EasyOcrUnitTestPackage.pickle --image_data_dirs ./examples ``` #### Script arguments