diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2015-11-26 22:16:11 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2015-11-26 22:16:11 +0100 |
commit | 8d7557a5f5b0006448ddc6c29a3cfa610008adf0 (patch) | |
tree | 8c6b626d3fa94c07db7b226173698fb35e8e60b4 /debian/xsane.README | |
parent | 665bbcae09168c39c73117e04c5f14d09e25b50c (diff) |
Add some more ocr commandline tools to suggests
Diffstat (limited to 'debian/xsane.README')
-rw-r--r-- | debian/xsane.README | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/debian/xsane.README b/debian/xsane.README new file mode 100644 index 0000000..b03d7e0 --- /dev/null +++ b/debian/xsane.README @@ -0,0 +1,46 @@ +Use the new ocr commandline tools. + + + +############################################################################# +cuneiform: + +- install cuneiform + apt-get install cuneiform +- copy /usr/share/xsane/ocr-scripts/xsane2cunei.sh to /usr/local/bin + cp /usr/share/xsane/ocr-scripts/xsane2cunei.sh /usr/local/bin +- at "xsane -> Setup -> Preferences -> OCR" add: + OCR command: /usr/local/bin/xsane2cunei.sh -l <language> -f <format> -e <extraoptions> + Input file: -i + Output file: -o +- for <language>, <format> or <extraoptions> please read the cuneiform man page. + + + +############################################################################# +tesseract-ocr: + +- install tesseract-ocr and at minimum one language file + apt-get install tesseract-ocr tesseract-ocr-[eng|fra|ita|ndl|por|spa|vie|deu|deu-frak] +- copy /usr/share/xsane/ocr-scripts/xsane2tess3.sh to /usr/local/bin + cp /usr/share/xsane/ocr-scripts/xsane2tess3.sh /usr/local/bin +- at "xsane -> Setup -> Preferences -> OCR" add: + OCR command: /usr/local/bin/xsane2tess3.sh -l <language> <extraoptions> + Input file: -i + Output file: -o +- for <language> or <extraoptions> please read the tesseract-ocr man page. + + + +############################################################################# +ocrad: + +- install ocrad + apt-get install ocrad +- copy /usr/share/xsane/ocr-scripts/xsane2ocrad.shh to /usr/local/bin + cp /usr/share/xsane/ocr-scripts/xsane2ocrad.sh /usr/local/bin +- at "xsane -> Setup -> Preferences -> OCR" add: + OCR command: /usr/local/bin/xsane2ocrad.sh -e <extraoptions> + Input file: -i + Output file: -o +- for <extraoptions> please read the ocrad man page. |