If the Leadtools OCR engine is not started with the correct parameters, the exception "Image file create error" will be thrown. To fix this problem, make sure you start the OCR engine by executing the function Startup with parameter startupParameters set to the installation folder of Leadtools, like:

 

IOcrEngine ocrEngine = OcrEngineManager.CreateEngine(OcrEngineType.Plus, useThunkServer: false);
ocrEngine.Startup(null, null, "C:\Program Files (x86)\LeadTools\OCR Engine");

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.