[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/scanner 1439335 16/17: update documentation
From: |
Stefan Monnier |
Subject: |
[elpa] externals/scanner 1439335 16/17: update documentation |
Date: |
Mon, 14 Dec 2020 18:34:45 -0500 (EST) |
branch: externals/scanner
commit 1439335484257935bb29cef31f1fa3daa9376440
Author: Raffael Stocker <r.stocker@mnet-mail.de>
Commit: Raffael Stocker <r.stocker@mnet-mail.de>
update documentation
---
Readme.org | 19 ++++++++++++++-----
scanner.el | 18 +++++++++++++-----
2 files changed, 27 insertions(+), 10 deletions(-)
diff --git a/Readme.org b/Readme.org
index be5416d..2b750e1 100644
--- a/Readme.org
+++ b/Readme.org
@@ -10,7 +10,8 @@
provided by =scanimage(1)= for image mode and =tesseract(1)= for document
mode. The scanner package uses =tesseract(1)= to provide optical character
recognition (OCR). You can select the language plugins with
- =scanner-tesseract-languages=.
+ =scanner-tesseract-languages=. See also the remark about the data
+ directories below.
In document mode, you can scan one or multiple pages that are then written
in a customizable output format, e.g. (searchable) PDF or text, or whatever
@@ -32,10 +33,18 @@
For both images and documents, you can customize the scan mode (e.g. "Color"
or "Gray") if your scanning device supports it.
- Finally, you can pass additional options to the backends using the
- customization variables =scanner-scanimage-switches= and
- =scanner-tesseract-switches=. The former variable is helpful for tuning
- brightness and contrast, for instance.
+ You can pass additional options to the backends using the customization
+ variables =scanner-scanimage-switches= and =scanner-tesseract-switches=.
+ The former variable is helpful for tuning brightness and contrast, for
+ instance.
+
+ Finally, the customization options =scanner-tessdata-dir= and
+ =scanner-tessdata-configdir= must be set to point to tesseract's data
+ directory containing the language definitions (usually something like
+ =/usr/share/tessdata/=) and tesseract's configs directory containing the
+ output configurations (usually something like
+ =/usr/share/tessdata/configs/=).
+
* Bugs
diff --git a/scanner.el b/scanner.el
index b1f6f0f..65c9557 100644
--- a/scanner.el
+++ b/scanner.el
@@ -35,7 +35,8 @@
;; provided by scanimage(1) for image mode and tesseract(1) for document mode.
;; The scanner package uses tesseract(1) to provide optical character
;; recognition (OCR). You can select the language plugins with
-;; ‘scanner-tesseract-languages’.
+;; ‘scanner-tesseract-languages’. See also the remark about the data
+;; directories below.
;;
;; In document mode, you can scan one or multiple pages that are then written
;; in a customizable output format, e.g. (searchable) PDF or text, or whatever
@@ -57,10 +58,17 @@
;; For both images and documents, you can customize the scan mode
;; (e.g. "Color" or "Gray") if your scanning device supports it.
;;
-;; Finally, you can pass additional options to the backends using the
-;; customization variables ‘scanner-scanimage-switches’ and
-;; ‘scanner-tesseract-switches’. The former variable is helpful for tuning
-;; brightness and contrast, for instance.
+;; You can pass additional options to the backends using the customization
+;; variables ‘scanner-scanimage-switches’ and ‘scanner-tesseract-switches’.
+;; The former variable is helpful for tuning brightness and contrast, for
+;; instance.
+;;
+;; Finally, the customization options ‘scanner-tessdata-dir’ and
+;; ‘scanner-tessdata-configdir’ must be set to point to tesseract's data
+;; directory containing the language definitions (usually something like
+;; /usr/share/tessdata/) and tesseract's configs directory containing the
+;; output configurations (usually something like
+;; /usr/share/tessdata/configs/).
;;; Code:
- [elpa] externals/scanner b683e19 05/17: correct handling of existing files, (continued)
- [elpa] externals/scanner b683e19 05/17: correct handling of existing files, Stefan Monnier, 2020/12/14
- [elpa] externals/scanner a43ce69 01/17: Update scanner.el, Stefan Monnier, 2020/12/14
- [elpa] externals/scanner 072222a 06/17: improve doc-string in scanner--confirm-filenames, Stefan Monnier, 2020/12/14
- [elpa] externals/scanner e199957 07/17: add file-local variables for tab configuration, Stefan Monnier, 2020/12/14
- [elpa] externals/scanner 7d5cd5c 02/17: correct Readme.org markup (=...= instead of ~...~), Stefan Monnier, 2020/12/14
- [elpa] externals/scanner 2101ca0 08/17: handle undefined options and tesseract config directory gracefully, Stefan Monnier, 2020/12/14
- [elpa] externals/scanner 22ead30 15/17: correct handling of empty TESSDATA_PREFIX env variable, Stefan Monnier, 2020/12/14
- [elpa] externals/scanner 5c8f04b 09/17: add --tessdata-dir option to scanner--tesseract-args, Stefan Monnier, 2020/12/14
- [elpa] externals/scanner 52bb719 14/17: fix handling of tessdata directory, Stefan Monnier, 2020/12/14
- [elpa] externals/scanner ff513b0 10/17: add image size selection function and order menu more logically, Stefan Monnier, 2020/12/14
- [elpa] externals/scanner 1439335 16/17: update documentation,
Stefan Monnier <=
- [elpa] externals/scanner f1a7256 12/17: make use of --tessdata-dir compatible with tesseract v4, Stefan Monnier, 2020/12/14
- [elpa] externals/scanner 440a324 13/17: Revert "make use of --tessdata-dir compatible with tesseract v4", Stefan Monnier, 2020/12/14
- [elpa] externals/scanner b96d3d1 17/17: bump version number, Stefan Monnier, 2020/12/14
- [elpa] externals/scanner a09407e 11/17: query tesseract version and use new switches conditionally, Stefan Monnier, 2020/12/14