diff --git a/requirements.txt b/requirements.txt index 9a62026ed..9d0fb7b71 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 f88bd75ff..78d8ca549 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