Patagames Software Support Forum
»
Tesseract.Net SDK
»
Bug Report & Technical Support
»
Unable to find an entry point named 'TessBaseAPICreate' in DLL 'tesseract.dll'
Rank: Newbie
Groups: Registered
Joined: 1/3/2022(UTC) Posts: 1 Location: Paphos
|
Hi, I installed Tesseract.Net.SDK with Nuget. My code is based on example your website: Code: public void ConvertImageToText(string ImagePath)
{
string dllPath = @"x64\tesseract.dll";
if (File.Exists(dllPath))
{
OcrApi.PathToEngine = dllPath;
using (var api = OcrApi.Create())
{
api.Init(Languages.English);
string plainText = api.GetTextFromImage(ImagePath);
Console.WriteLine(plainText);
}
}
}
As you see, I confirm that the program finds tesseract.dll before tryig to use it. I get this error message: System.EntryPointNotFoundException HResult=0x80131523 Message=Unable to find an entry point named 'TessBaseAPICreate' in DLL 'tesseract.dll'. Source=Patagames.Ocr StackTrace: at Patagames.Ocr.Tesseract.TessBaseAPICreate(String key, String vers) at Patagames.Ocr.OcrApi.Create() at AxieClicker1.Program.ConvertImageToText(String ImagePath) in C:\Users\patri\Desktop\AxieClicker1\Program.cs:line 23 at AxieClicker1.Program.<Main>d__0.MoveNext() in C:\Users\patri\Desktop\AClicker1\Program.cs:line 13 Any help appreciated.
|
|
|
|
Rank: Administration
Groups: Administrators
Joined: 1/5/2016(UTC) Posts: 1,104
Thanks: 7 times Was thanked: 128 time(s) in 125 post(s)
|
What happens if you specify the full path to the dll?
|
|
|
|
Patagames Software Support Forum
»
Tesseract.Net SDK
»
Bug Report & Technical Support
»
Unable to find an entry point named 'TessBaseAPICreate' in DLL 'tesseract.dll'
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.
Important Information:
The Patagames Software Support Forum uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close