Inhaltsverzeichnis
CLI OCR Dokumentation
Parameter Überblick
Die abbyyocr Anwendung bietet folgende Verarbeitungsparameter an:
Schritt 1: Input
Schritt 2: Verarbeitung:
-
-
Barcode Orientation
-
Barcode Type Enum
-
Schritt 3: Synthese & Export:
-
-
XLS
-
DBF
-
Export Picture Format Enum
Allgemein
Wie die CLI OCR genutzt wird
The command line interface of the ABBYY FineReader Engine 8.0 EPS for Linux (ABBYYOCR) is represented by the abbyyocr executable.
abbyyocr [open image and analysis options] -if[export options] -of
abbyyocr [options] -if file1 [options] -if file2... -of destination
abbyyocr [options] -if file -f format1 [options] -of file1 -f format2 [options] -of file2...
Samples
There are different samples of using the abbyyocr utility.
abbyyocr -ii -fm -if sample.jpg -tet UTF8 -of sample.txt
-
The sample.jpg file will be recognised in fast mode (-fm).
-
The colors of the prepared image will be inverted during conversion to the internal format (-ii).
-
The results will be exported into text file of the Unicode UTF8 type (-tet UTF8).
abbyyocr -if sample1.jpg -rl English German -if sample2.jpg -f PDF -of sample2.pdf
-
The sample1.jpg and sample2.jpg files will be recognised and exported to a PDF file (-f PDF).
-
The sample2.jpg will be recognised with the English and German predefined languages (-rl English German).
abbyyocr -if sample.jpg -f HTML -hkl -of sample.html -f RTF -rmp -of sample.rtf
-
The sample.jpg file will be recognised and the results will be exported to HTML (-f HTML) and RTF formats (-f RTF).
-
The original lines in the recognised text will be retained during export to HTML format (-hkl).
-
The source page layout will not be retained when exporting recognised text to RTF format (-rmp).
abbyyocr -ipn 2 -adb -if sample.tif -f PDF -pem TextOnly -prl -of sample.pdf
-
The third page of the sample.tif file will be recognised (-ipn 2).
-
Barcodes will be detected and barcode blocks will be created during page layout analysis (-adb).
-
The recognised text and hyperlinks will be exported to a PDF file (-f PDF) as text (-pem TextOnly -prl).