diff --git a/BUILD.md b/BUILD.md index edaf923..f985d1f 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 @@ -152,6 +158,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 @@ -357,6 +369,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 @@ -418,6 +436,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 3f8e9ca..07cfbbf 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 @@ -345,6 +351,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 @@ -403,6 +415,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: ```