Hi Vipin I didn't get much further with that wrapper I'm afraid. In the end, I went for building tesseract from the C++ source code.
On Tuesday, September 25, 2018 at 6:03:19 PM UTC+1, Vipin Tom Varghese wrote: > > Hi James, my apologies to hit you up so randomly, but I had no ther > options left. Ive been trying to get Tesseract 4 working using > tesseract.net wrapper following the wiki here > <https://github.com/tvn-cosine/tesseract.net/wiki/Compiling-the-Tesseract-lib-for-Windows>, > > but i'm unable to build from source. Could share how you got it working ? > > Thanks > Vipin > > On Monday, 8 January 2018 15:33:50 UTC+5:30, James Q wrote: >> >> By the way I do have the Tesseract.net nuget package working ( >> https://www.nuget.org/packages/tesseract.net/ ), but have 2 issues with >> this: >> 1.) I need to write a separate Bitmap -> Pix converter in C# >> 2.) I haven't yet got whitelists/blacklists working >> >> Neither of these were issues with the tesseract 3 Charles Weld wrapper, >> hence my reason for trying to get the tdhintz one working (as this is based >> on Charles Weld's 3 wrapper). >> Thanks >> James >> >> On Monday, January 8, 2018 at 7:49:43 AM UTC, Mohammad Mahdizadeh wrote: >>> >>> I have the same problem >>> >>> >>> On Friday, January 5, 2018 at 8:38:08 PM UTC+3:30, James Q wrote: >>>> >>>> I'm trying to use this wrapper: >>>> https://github.com/tdhintz/tesseract4win64 >>>> >>>> It's an x64 .Net assembly with one main DLL (Tesseract.dll) and two >>>> dependency DLLs (liblept1741.dll and libtesseract400.dll). To start with >>>> I'm just trying to get a Visual Studio console app running. I've added >>>> Tesseract.dll in as a reference but it fails to recognize the dependency >>>> DLLs, throwing a runtime DllNotFoundException: "Failed to find library >>>> "liblept1741.dll" for platform x64.". >>>> >>>> I've tried placing the DLLs in the .\bin\x64\Debug folder and elsewhere >>>> along the project structure but no luck! I've tried manually adding them >>>> to >>>> an ItemGroup in the csproj file with 'CopyToOutputDirectory Always'. I've >>>> also tried setting TesseractEnviornment.CustomSearchPath in my Main class, >>>> but although the runtime searches in the correct folders, it still doesn't >>>> find the DLLs. My app is for x64 so the image type should match. I can't >>>> think of what else to try. >>>> >>>> If anyone has this working I would greatly appreciate any advice. >>>> >>>> Thanks in advance >>>> James >>>> >>>> >>>> -- You received this message because you are subscribed to the Google Groups "tesseract-ocr" group. To unsubscribe from this group and stop receiving emails from it, send an email to tesseract-ocr+unsubscr...@googlegroups.com. To post to this group, send email to tesseract-ocr@googlegroups.com. Visit this group at https://groups.google.com/group/tesseract-ocr. To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/8b41f8d0-7526-44f0-b2ac-f3b62e164e4d%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.