ABBYY FineReader Engine 11 CLI for Linux

Command Line Interface Documentation

The command line interface of the ABBYY FineReader Engine 11 for Linux is represented by the abbyyocr11 utility.

 

The abbyyocr11 utility supports the following keys:

You can use the abbyyocr11 utility in the following ways:

abbyyocr11 [options] -if <image file> -f format [options] -of <export file>
abbyyocr11 [options] -if <image file> -f format1 [options] -of <export file 1> -f format2 [options] -of <export file 2>
abbyyocr11 [options] -if <image file 1> -if <image file 2> -f format [options] -of <export file>

You can type in the keys in any convenient order. The keys will be sorted internally in the right execution order, so that no errors occur due to the wrong key placing.

Below are the examples of using the abbyyocr11 utility:

abbyyocr11 -ii -fm -if Demo.tif -f TextUnicodeDefaults -tet UTF8 -of sample.txt

The Demo.tif file will be recognized 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).

abbyyocr11 -lpp DocumentArchiving_Speed -rl English German -if sample1.jpg -if sample2.jpg -f PDF -of sample2.pdf

The sample1.jpg and sample2.jpg files will be recognized and exported to a PDF file (-f PDF) with the settings provided in the predefined profile DocumentArchiving_Speed (-lpp DocumentArchiving_Speed) and with the English and German predefined languages (-rl English German).

abbyyocr11 -if Demo.tif -f HTMLUnicodeDefaults -hkl -of sample.html -f RTF -rmp -of sample.rtf

The Demo.tif file will be recognized and the results will be exported to HTML (-f HTML) and RTF formats (-f RTF). The original lines in the recognized text will be retained during export to HTML format (-hkl). The source page layout will not be retained when exporting recognized text to RTF format (-rmp).

abbyyocr11 -ipn 1 -adb -if Demo.tif -f PDF -ptem TextWithPictures -pdwl -of sample.pdf

The second page of the Demo.tif file will be recognized (-ipn 1). Barcodes will be detected and barcode blocks will be created during page layout analysis (-adb). The recognized text will be exported to a PDF file (-f PDF) as text (-pem TextWithPictures). The hyperlinks will not be saved (-pdwl).

 

ABBYY CLI OCR for Linux 11 and 9 Compatibility

 

  • Please pay your attention to the fact that in the abbyyocr11 multiple input files (passed to -if options) are processed with the same set of preprocessing / analysis / recognition / synthesis options no matter where these options are put in the command.
  • In addition, when export is performed to multiple formats, it is required to specify different formats for -f options within the same command.
  • www.ocr4linux.com
    ©2015 ABBYY Production LLC