diff --git a/BUILD.md b/BUILD.md index f7e63eb..a274b01 100644 --- a/BUILD.md +++ b/BUILD.md @@ -97,6 +97,12 @@ Build the latest container: python3 ./install/common/build-image.py ``` +Download the OCR language data: + +```sh +python3 ./install/common/download-tessdata.py +``` + Run from source tree: ```sh @@ -174,6 +180,12 @@ Build the latest container: python3 ./install/common/build-image.py ``` +Download the OCR language data: + +```sh +python3 ./install/common/download-tessdata.py +``` + Run from source tree: ```sh @@ -379,6 +391,12 @@ Build the dangerzone container image: python3 ./install/common/build-image.py ``` +Download the OCR language data: + +```sh +python3 ./install/common/download-tessdata.py +``` + Run from source tree: ```sh @@ -440,6 +458,12 @@ Build the dangerzone container image: python3 .\install\common\build-image.py ``` +Download the OCR language data: + +```sh +python3 .\install\common\download-tessdata.py +``` + After that you can launch dangerzone during development with: ``` diff --git a/dev_scripts/qa.py b/dev_scripts/qa.py index 41fcb06..5790e29 100755 --- a/dev_scripts/qa.py +++ b/dev_scripts/qa.py @@ -289,6 +289,12 @@ Build the latest container: python3 ./install/common/build-image.py ``` +Download the OCR language data: + +```sh +python3 ./install/common/download-tessdata.py +``` + Run from source tree: ```sh @@ -367,6 +373,12 @@ Build the latest container: python3 ./install/common/build-image.py ``` +Download the OCR language data: + +```sh +python3 ./install/common/download-tessdata.py +``` + Run from source tree: ```sh @@ -425,6 +437,12 @@ Build the dangerzone container image: python3 .\install\common\build-image.py ``` +Download the OCR language data: + +```sh +python3 .\install\common\download-tessdata.py +``` + After that you can launch dangerzone during development with: ```