Type Default Value Read Only Description
[C#]
string

[Visual Basic]
String
n/a No The location of the tessdata directory.

 

   

Notes
 

This property contains the location of the tessdata directory. You may wish to check the location or you may wish to change it from the default.

On load ABCocr will perform an exhaustive search to find the tessdata directory.

It looks in the ABCocr Common directory - typically at "%ProgramFiles%\WebSupergoo\ABCocr3 .NET\Common\".

Then it starts at the location of the ABCocr assembly moving up the directory tree looking for either a tessdata directory or a tesseract/tessdata directory.

Then it repeats the process starting at the current working directory and moving up the directory tree.

Then it looks at the value of the %TESSDATA_PREFIX% environment variable in case that provides a tessdata directory.

Finally it looks at "C:\Program Files\Tesseract-OCR" and "C:\Program Files (x86)\Tesseract-OCR".

If it is still unable to locate the files then it will throw an exception.

 

   

Example
 

None.