Closed J35P1N closed 2 years ago
How is this related to this repository? This repository contains the data for training the models. Actual engine issues should be reported at the appropriate places - either at the base repository if it corresponds to a general issue or to the wrapper library you use (in your case the wrapper library seems to live at https://github.com/charlesw/tesseract).
Please use the Tesseract user forum for questions.
Hi, I've recently been looking at Tesseract as a solution for providing OCR for driving licences however, I cannot seem to get the .Net implementations to play ball with what should be the matching learning data for the english language. My implmentation at the moment is super simple and i've created a new .Net 6.0 api project with the following controller code:
I've installed the following Nuget packages into the solution:
But when it comes to actually running the solution in Swagger or using Postman, as soon as it hits the TesseractEngine initialiser I get a "Failed to initialise tesseract engine.. See https://github.com/charlesw/tesseract/wiki/Error-1 for details." error. I've tried to use this link to diagnose the problem but to be honest it mostly suggests that there may be version differences between the language file and the tesseract version which in this case, both are using the 4.0.x versions so should be compatible.
I've checked the following:
Any assistance with this issue would be greatly appreciated.