[tesseract-ocr] Re: Tesseract leptonika-1.80.0.dll not found

2021-04-07 Thread THintz
That's a question for charlesw/tesseract: A .Net wrapper for tesseract-ocr (github.com) On Monday, March 22, 2021 at 6:40:35 AM UTC-4 carlr...@online.de wrote: > Hello everyone, > > Scenario: > > 1.) Windows 10 visual studio 2019 > > 2.) C # WPF

[tesseract-ocr] Re: Upcoming book on "OCR with OpenCV, Tesseract, and Python"

2020-08-28 Thread THintz
Speed and accuracy with regard to documents that have complex watermarks, like automotive licenses. On Friday, August 14, 2020 at 11:26:38 AM UTC-4 a.ros...@pyimagesearch.com wrote: > Hi fellow Tesseract OCR friends! > > My name is Adrian Rosebrock. Some of you may already know me from my

[tesseract-ocr] Re: I Need help getting Tesseract 4.0 C# .Net Wrapper working please!

2018-09-26 Thread THintz
I assume you mean the charlesw/tesseract wrapper on Github. Questions are more directly answered there. What steps did you perform and what is the symptom? -- You received this message because you are subscribed to the Google Groups "tesseract-ocr" group. To unsubscribe from this group and

[tesseract-ocr] Re: how to static link tesseract dependencies?

2018-08-31 Thread THintz
Instructions: github charlesw/tesseract issue 436 -- 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] Re: Tesseract performance

2018-06-27 Thread THintz
4.0 performance varies depending on options and training set. e.g. "fast" traindata is faster. -- 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] LSTM + Tesseract is better than LSTM Best

2018-03-06 Thread THintz
For basic bi-tonal G4 TIFF at 240 DPI, LSTM Best is not as good as LSTM + Tesseract, OEM = 2, using stock train data on Win64. OEM 2 is now unsupported? Is this a factor of my build or is the loss of OEM 2 an issue for everyone? -- You received this message because you are subscribed to the

[tesseract-ocr] Re: Can Tesseract OCR Detect lines and rectangles?

2018-01-12 Thread THintz
OpenCV is a better solution for that. -- 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

[tesseract-ocr] Re: I Need help getting Tesseract 4.0 C# .Net Wrapper working please!

2018-01-12 Thread THintz
I built those DLLs with VS 2017. I think the run-time lib version is 140. There are 3 main reasons the libs fail to load. 1. The DLLs are in the wrong folders. The correct folders are: The .Net wrapper DLL assembly is placed in the exact same folder you run your app from, and the other 2

[tesseract-ocr] Re: I Need help getting Tesseract 4.0 C# .Net Wrapper working please!

2018-01-11 Thread THintz
> > See https://github.com/charlesw/tesseract/wiki/Error-2 >> > The Tesseract.dll goes in the folder with your binary and the other two dlls go in either an x64 or an x86 folder below that. -- You received this message because you are subscribed to the Google Groups "tesseract-ocr" group. To

Re: [tesseract-ocr] Re: Building Tesseract V4 - Problems

2017-11-10 Thread THintz
I ran the procedure a week ago as described and had no trouble generating an SLN. The procedure described in the wiki is the same as far as I can tell. Actually building the SLN in release mode had a problem unrelated to leptonica and other references. There is a post here about that.

[tesseract-ocr] Re: Building Tesseract V4 - Problems

2017-11-09 Thread THintz
> > In my experience all of the dependencies are downloaded automatically. I > did custom builds to statically link everything into just 2 DLLs. Which > cmake did you use? > cmake --version cmake version 3.8.0 CMake suite maintained and supported by Kitware (kitware.com/cmake). -- You

[tesseract-ocr] Re: Tesseract 4.0 Win64 LSTM release mode fails

2017-11-01 Thread THintz
I traced the problem to the project's Inline Function Expansion setting of "Any Suitable (/Ob2)" applied when release mode is selected. This is with the current patches of Visual Studio 2017. I don't know whether or not older Visual Studios have the same problem. -- You received this message

[tesseract-ocr] Tesseract 4.0 Win64 LSTM release mode fails

2017-11-01 Thread THintz
The current tesseract 4.0 source reports errors and produces no output. The same source built in debug mode works without complaint. In both cases "best" was used for eng.traindata. D:\Petri\NovTesseract\tesseract\win64\bin\Release>tesseract 0.tif output --oem 1 -l eng --psm 6 Tesseract Open

[tesseract-ocr] Win64 build fails on VS2017

2017-07-26 Thread THintz
The following line generates an error: max_offset = std::max(max_offset, (*code)(i)-han_offset); Severity Code Description Project File Line Suppression State Error C2039 'max': is not a member of 'std' libtesseract \tesseract\ccutil\unicharcompress.cpp 208 -- You received this message

[tesseract-ocr] Re: underlined text problem - tess4j

2017-07-23 Thread THintz
I think that method only supports grayscale. -- 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,

[tesseract-ocr] Re: text close to lines

2017-07-10 Thread THintz
Charles Weld's Tesseract .Net implements Leptonica's RemoveLines for grayscale in Pix.cs. -- 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

Re: [tesseract-ocr] Tesseract on Bitmap images giving error - Error: "Failed to create pix, this normally occurs because...

2017-06-12 Thread THintz
This is the Charles Weld .Net wrapper code. The first thing Convert() does is call this method. Leptonica's picCreate() returns a null pointer apparently. public static Pix Create(int width, int height, int depth) { if (!AllowedDepths.Contains(depth))

Re: [tesseract-ocr] Tesseract on Bitmap images giving error - Error: "Failed to create pix, this normally occurs because...

2017-06-12 Thread THintz
That's charlesw's .Net Tesseract/Leptonica wrapper code. One problem is that "pix" derives from IDisposable and must be disposed. > > On Mon, Jun 12, 2017 at 7:52 PM, Dan Bloomberg > wrote: > >> ​ >> ​ >> >> BitmapToPixConverter b = new BitmapToPixConverter(); >>

Re: [tesseract-ocr] Re: tesseract4 x64 Windows dlls?

2017-03-26 Thread THintz
I use it with Charles Weld's .net wrapper. That wrapper expects the two libraries to be seperate DLLs. -- 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

Re: [tesseract-ocr] Re: tesseract4 x64 Windows dlls?

2017-03-25 Thread THintz
Win64 DLLs posted here: https://github.com/tdhintz/tesseract4win64 -- 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.

[tesseract-ocr] Re: Tesseract 4 LSTM vs TesseractAndCube performance

2017-03-22 Thread THintz
Enabling OpenMP in Visual Studio for the build roughly doubled LSTM performance. -- 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

Re: [tesseract-ocr] Tesseract 4 LSTM vs TesseractAndCube performance

2017-03-22 Thread THintz
I noticed OpenMP support isn't enabled by default. I'll get new timings. What do modes 4 & 5 do if Cube is no longer present? They produced good output, and performance was the best. -- You received this message because you are subscribed to the Google Groups "tesseract-ocr" group. To

Re: [tesseract-ocr] Tesseract 4 LSTM vs TesseractAndCube performance

2017-03-22 Thread THintz
I'm sure I cloned master on 3/20/2017 3:55. publictypes.h defines this: enum OcrEngineMode { OEM_TESSERACT_ONLY, // Run Tesseract only - fastest OEM_LSTM_ONLY,// Run just the LSTM line recognizer. OEM_TESSERACT_LSTM_COMBINED, // Run the LSTM recognizer, but

[tesseract-ocr] Tesseract 4 LSTM vs TesseractAndCube performance

2017-03-22 Thread THintz
LSTM recognize via TessBaseAPIRecognize() gives me the following performance numbers for the same bi-tonal image. The image is read and passed as a bitmap. These numbers are only for the TessBaseAPIRecognize() call portion of the process. The question is this: should I have expected LSTM

Re: [tesseract-ocr] Re: tesseract4 x64 Windows dlls?

2017-03-16 Thread THintz
I transcribed the commands incorrectly. See update below. Apologies for all the updates. On Thursday, March 16, 2017 at 3:12:07 PM UTC-4, THintz wrote: > > Update... > > >> The reason the steps didn't work was because the -G option needs to be >> quoted. This

Re: [tesseract-ocr] Re: tesseract4 x64 Windows dlls?

2017-03-16 Thread THintz
Update... > The reason the steps didn't work was because the -G option needs to be > quoted. This is the correct procedure for VS2017: > > cd \petri > mkdir Win32 > cd Win32 > git clone https://github.com/tesseract-ocr/tesseract tesseract > cd tesseract > cppan (I assume this wasn't

Re: [tesseract-ocr] Re: tesseract4 x64 Windows dlls?

2017-03-16 Thread THintz
Here are the steps I followed cd \petri mkdir Win32 cd Win32 git clone https://github.com/tesseract-ocr/tesseract tesseract cd tesseract cppan (I assume this wasn't necessary, but I'm trying to avoid improvising) mkdir Win32 && cd Win32 cppan .. cmake .. -G Visual Studio 14 2015 Win64 edit

Re: [tesseract-ocr] Re: tesseract4 x64 Windows dlls?

2017-03-16 Thread THintz
Thank you so much for the additional steps! When I ran the cppan --generate . step it told me there were no files. I followed steps precisely because I don't know the backstory. When I performed a cd .. before the generate step it first gave me errors updating the CMake files. Rerunning it

Re: [tesseract-ocr] Re: tesseract4 x64 Windows dlls?

2017-03-16 Thread THintz
I spoke too soon. Apparently I touched the CMake text and that caused the next build to recreate the solution as Win32. I think I'm on the right track anyway. For each project under Solution Explorer in Visual Studio right click and select Properties. Then make x64 match Win32 Platform's

[tesseract-ocr] Re: tesseract4 x64 Windows dlls?

2017-03-15 Thread THintz
I follow the github instructions tesseract-ocr/tesseract/wiki/Compiling, then opened the resulting .sln file's Configuration Manager... and created an x64 clone of Win32 platform. Then opened every project an copied the Win32 platform settings to x64 platform while leaving the explicate x64

[tesseract-ocr] tesseract4 x64 Windows dlls?

2017-03-15 Thread THintz
The current master only builds Win32. Are there x64 builds or build processes available for tesseract4? -- 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