Question
How to process (OCR) documents using ABBYY CLI?
Answer
For processing samples using this tool, please:
1) Open command line (with admin rights):
C:\ProgramData\ABBYY\SDK\12\FineReader Engine\Samples\Visual C++(Raw)\CommandlineInterface\x64\Release
Click "Enter";
2) add C:\ProgramData\ABBYY\SDK\12\FineReader Engine\Samples\Visual C++ (Raw)\CommandlineInterface\x64\Release>CommandLineInterface.exe;
3) add input file: -if C:\Demo.pdf;
4) output file format: -f PDF;
5) destination and name of the output file: -of C:\Output.pdf and click "Enter".
For example:
C:\ProgramData\ABBYY\SDK\12\FineReader Engine\Samples\Visual C++ (Raw)\CommandLineInterface\x64\Release>CommandLineInterface.exe -if C:\Demo.tif -f PDF -of C:\Output.pdf
Sometimes we need not only change file format, but we also need to recognize the language.
For doing this, please add -rl (language).
In our example it'll be a Dutch .tif sample which we want to process into .txt:
C:\ProgramData\ABBYY\SDK\12\FineReader Engine\Samples\Visual C++ (Raw)\CommandLineInterface\x64\Release>CommandLineInterface.exe -if C:\Demo_Dutch.tif -rl Dutch -f TextVersion10Defaults -of C:\res1.txt
Comments
0 comments
Please sign in to leave a comment.