There are two aspects to using the API to control and enhance TessPro:
Using the top-level API object called Processor to initiate and execute the TessPro processing engine on a specific project file.
Using the TessPro Plugin API to control and enhance the processing during the runtime.
To setup your new project to use the TessPro API, follow the steps below:
Add a reference to Opait.TessPro.dll which is located in the TessPro installation directory.
In your source files, add the following directive to enable access to the API classes and interfaces:
Opait TessPro relies on a number of third-party components from the installation directory. If you are developing an executable that will run the processing engine, then you will need to copy the content of the installation directory to the output directory of your executable. Your output directory should contain:
tessdata directory and its contents.
These files are not required for plugin development.
It is recommended that your projects use .NET Framework version 4.7.2 or higher and compiled for the x64 platform.