From ffcf664a484f6112fe1d42ddbc6ac5b46ad3d894 Mon Sep 17 00:00:00 2001 From: Alex Pyrgiotis Date: Thu, 14 Mar 2024 12:10:48 +0200 Subject: [PATCH] Update build instructions --- BUILD.md | 24 ++++++++++++++++++++++++ dev_scripts/qa.py | 18 ++++++++++++++++++ 2 files changed, 42 insertions(+) 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: ```