From a598b817b5a4d6937bfeac0deb6d5e9a40daff5e Mon Sep 17 00:00:00 2001 From: Daniel Morais Date: Mon, 31 Jul 2023 14:15:46 +0200 Subject: [PATCH] Remove --force-full-ocr parameter & update related documentation --- docs/user/usage.md | 7 +------ speculos/main.py | 2 -- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/docs/user/usage.md b/docs/user/usage.md index 6cb81dce..b6c178d7 100644 --- a/docs/user/usage.md +++ b/docs/user/usage.md @@ -93,9 +93,4 @@ Launch the Bitcoin Testnet app, which requires the Bitcoin app: ## OCR -OCR is available for NanoX with built in character recognition. - -Stax makes use of the Tessseract library for OCR, with known issues for detecting inverted text. - -Launching Speculos with `--force-full-ocr` flag forces all text to be written in black over a white background, -having an visible effect on the display but solving the latter issue. +OCR is available for NanoX, Nanos S+ and Stax with built in character recognition. diff --git a/speculos/main.py b/speculos/main.py index 3029df71..cb3701db 100644 --- a/speculos/main.py +++ b/speculos/main.py @@ -284,8 +284,6 @@ def main(prog=None) -> int: "left button, 'a' right, 's' both). Default: arrow keys") group.add_argument('--progressive', action='store_true', help='Enable step-by-step rendering of graphical elements') group.add_argument('--zoom', help='Display pixel size.', type=int, choices=range(1, 11)) - group.add_argument('--force-full-ocr', action='store_true', - help='Degrade screen display to enhance OCR capacities for inverted text (only for Stax)') if prog: parser.prog = prog