The sample provides the command line interface of ABBYY FineReader Engine. The sample produces the CommandLineInterface utility, which supports most of the ABBYY FineReader Engine API functions through numerous keys.
You can use the CommandLineInterface utility in the following ways:
CommandLineInterface -ii -fm -if Demo.tif -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).
CommandLineInterface -if Demo.tif -f HTML -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).
CommandLineInterface -lpp DocumentArchiving_Speed -if sample1.jpg -rl English German -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). The sample2.jpg will be recognized with the English and German predefined languages (-rl English German).
The CLI documentation for the Linux version can be explored online: http://www.ocr4linux.com/en:documentation