tesseract
tesseract copied to clipboard
Asp.NET Core 3.1.5 Failed to initialise tesseract engine - Tesseract 3.3.0
Hi and thank you very much for your help.
I have tried everything to resolve a "Failed to initialise engine" error.
Here is my code:
`//code:
string testdatapath = System.IO.Path.Combine(_hostingEnvironment.WebRootPath, "tessdata");
using (var ocrEngine = new TesseractEngine(testdatapath, "en", EngineMode.Default))
{
using (var img = Pix.LoadTiffFromMemory(fileBytes))
{
using (var page = ocrEngine.Process(img))
{
ocrtext = page.GetText();
}
}
}`
I found a reply from charlesw/tesseract (author) in github: I've tried but It was usefuless for me (so sad):

This is my tessdata ABSOLUTELY path, I need your help, thank you.

Can you try the latest release (4.1.1)?
Can you try the latest release (4.1.1)?
Thank you for reply, I cloned your github project and add to project (AspnetZero) but to much issue happen so I try to install NugetPackage, I only see 3.3.0 ver in Nuget, I will try again with cloned! Thank you
I've found 4.1.1 Nuget Package, thank you, I will try!
Can you try the latest release (4.1.1)?
Dear Bro, This Issue is still happened. Too bored!
