From 23caf9faf702132c37c939a26c2a8e7cdb3dc875 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 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: ```