CLI OCR FAQs

  • Below you will find a list of frequently asked questions for the ABBYY CLI OCR tool.
  • This section will be extended over time.

You need further Support?
Join us @ the ABBYY OCR Linux Google Group :!:
http://groups.google.com/group/abbyy-ocr-for-linux

Does the CLI-OCR Version 9 work with a V8 license?

No, ABBYY CLI OCR V9 will not work with V8 serial numbers, because it is based on a different FineReader Engine (more about ABBYY's OCR SDKs). If you wan to test V9, just request a Trial.

Do I have to change my code when upgrading to CLI-OCR V9 ?

Well, it depends :-/

  • No, because the old parameters still exist - so the calls will work as they did in V8.
  • Yes, the name of the 'executable” has changed form abbbocr to abbyyocr9
  • Yes, - if you want to use the new options, like “PDF/A”, you have to adjust your export parameters ;-)

Will re-installing the latest release need re-activation

ABBYY CLI OCR for Linux 9 can be reinstalled on one and the same computer an unlimited number of times without reactivation. However, if you make major system upgrades, e.g. format your hard drive, or reinstall the operating system, an additional activation may be required.

Will the CLI run on virtual machines

Theoretically yes, but in reality the internal protection scheme restricts that. So virtual machines are not allowed to run the CLI OCR. It has to be used on a real, physical machine.
Why? - Yes, ABBYY is concerned about piracy. m(

Note: If you plan to use ABBYY CLI OCR in visualised company server environments, then please contact ABBYY and we will try to find a solution.
Please be aware that a 12K pages per year license is not considered as “critical” for a server scenario - it is less than 33 pages per day :-X

Do I need root-rights for the CLI OCR?

  • ABBYY CLI OCR for Linux 9 can be used with unprivileged user rights.
  • Only for activation of the license file “root” is needed.

Important: If “normal” users can not use the CLI, please check the user rights and test chmod 755 /var/lib/frengine9/.elf

What can I do with my licenses?

License Check

Right after installation you were shown how to check you license settings:

Deactivation and Reactivation

  • ABBYY CLI OCR for Linux 9 license can be deactivated.
  • The deactivated license can be then activated on another computer. The total number of allowed deactivations can be restricted by your license.
  • Deactivation is also executed with the help of the Activation utility (<installation_directory>/ActivateFRE) using the “‐deactivate” parameter.
  • The deactivation can be performed only via the Internet. Deactivation is carried out automatically and takes only a few seconds. An Internet connection is required.
  • Once the deactivation is complete, the license can be activated on another computer.

How Can I un-install the CLI-OCR?

  • To uninstall the distribution please run the following commands under root account:
    • rm –f –R <installation folder>
    • rm –f /usr/local/bin/abbyyocr
      (if you added these files there during installation)

How can I use multi core CPUs?

  • The licences of CLI V9 allow to use multiple CPU cores
  • Below you will find a excerpt form a mail thread form the Google Group

The command pattern I used is:

abbyyocr9 -rl German English -if ./input.pdf -f Text -tet UTF8 -of ./ output.txt

Please see below my results:

  • Sequential processing of a 427-page PDF
    Processing time: 7 min 23 sec
  • Sequential processing of 214-page PDF (first half of test PDF)
    Processing time: 3 min 40 sec
  • Sequential processing of 213-page PDF (second half of test PDF)
    Processing time: 3 min 46 sec

Result: Parallel processing of 214-page and 213-page PDFs takes ca 50% of the over all of the processing time

To start parallel processing, you should used the following command:

abbyyocr9 -rl German English -if ./Part1.pdf -f Text -tet UTF8 -of ./ Part1.txt & abbyyocr9 -rl German English -if ./Part2.pdf -f Text -tet UTF8 -of ./Part2.txt

  • Start time: 14:32:37
    • Part1 finish time: 14:36:22 → processing time: 3 min 45 sec
    • Part2 finish time: 14:36:31 → processing time: 3 min 54 sec
  • Total processing time: 3 min 54 sec

As you can see, the results show that total processing time is almost two times smaller in comparison with sequential processing of the entire 427-page PDF if you process both halves of this document in parallel on two cores.

… more to come

Back to: General Feature OverviewPricing - FineReader Engine 9.0 CLI for Linux