[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 application
>
> 3.) Tesseract 4.1.1
>
> The application runs in Visual Studio without any problems as soon as I 
> want to publish the following message appears:
>
> I
> t[image: Fehler.png]
>
> t cannot find the file *leptonika-1.80.0.dll*, although it is present 
> several times in the project.
>
> I thought I had solved the problem in a recently asked question, 
> unfortunately no.
>
> *Please help me solve the problem.*
>
> Many Thanks
> Carl-Heinz Robert
>
>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tesseract-ocr/0db855da-1604-4e88-8cdc-356df9188fdbn%40googlegroups.com.


[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 blog, 
> PyImageSearch.com , where I provide free 
> tutorials on computer vision, deep learning, and OCR.
>
> Myself and the rest of the PyImageSearch team are about to author a book 
> on OCR, entitled "OCR with OpenCV, Tesseract, and Python". Along with the 
> book, we'll be offering:
>
>- High quality, well documented source code that explains not only 
>*what* we're doing, but *why* we're doing it
>- Pre-configured VM with all the necessary computer vision, deep 
>learning, and OCR libraries pre-installed
>- Access to our companion website
>- Certificate of completion
>
> I've put together a preview of the book here 
> .
>  
> Additionally, you can find the table of contents on this page. 
> 
>
> We'll be announcing an IndieGoGo campaign to fund the creation of the book 
> this coming Wednesday, August 19th 
> .
>  
> We're offering significant discounts on the book (as well as my other books 
> and courses) during the campaign.
>
> If you have any questions on the book, or if you have any 
> recommendations/suggestions on what you would like to see covered, please 
> do let me know!
>
> Otherwise, if the group admin/moderators feel that this post is out of 
> line, I apologize. It is not my intention to spam or cause a fuss. If the 
> group feels this post should be deleted, I whole heartedly understand.
>
> Thank you all and have a wonderful weekend!
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tesseract-ocr/aa65e039-f208-470e-856b-16c0b2c5279bn%40googlegroups.com.


[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 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/87e323ca-ac0a-4063-8adb-09a428178acf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[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+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/797556bc-b4f3-4a26-8945-43d227a188e5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[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+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/0329d30f-9feb-4b5b-af4f-4dc11837938c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[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 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/490f7f2a-210c-48c4-a144-85f2a1151302%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[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 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/00b1085e-01f2-40a0-b189-57f4747dbc85%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[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 are placed in a folder x86 or x64 
located in the app's folder.  The DLLs I created are only x64.

2. You are missing a dependency.  
See https://github.com/charlesw/tesseract/issues/363 for examples tracing 
this.  If you must resort to procmon to figure this out then you need to be 
prepared to read tea leaves.

3. The wrong .Net wrapper is used.  Mr. Weld's wrapper has a trace feature 
that enables you see mismatch between the wrapper and the DLLs.  A mismatch 
occurs when the wrapper tries to bind to the public interface of Leptonica 
and the two differ.

The DLLs I created have been superseded in a branch of charlesw/tesseract 
on github.  There is actually not much functional difference between the 
two, at this time, but you might find it easier to work with the newer 
branch. 

-- 
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/de6acb45-c474-458a-8179-8bcb00f776d5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[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 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/ff61fc82-6cd5-4ace-84b7-a35d6243f80a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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.

Check your cppan and cmake output for more clues.

-- 
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/9840b7db-330f-4ec5-a03f-3985ec1edf6f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[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 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/4d8fffa5-144b-4efe-94ac-85de4825d75d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[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 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/e343de8c-c2d6-4ffa-a398-163c27bda169%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[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 Source OCR Engine v4.00.00alpha with Leptonica
Page 1
Error in pixCreateHeader: height must be > 0
Error in pixCreateNoInit: pixd not made
Error in pixCreate: pixd not made
Error in pixClipRectangle: pixd not made

-- 
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/35a58524-0418-415a-b379-590800426794%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[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 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/99403ee8-a346-4192-88f7-ef71956848e2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[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, 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/a921ae7f-1da8-48f1-9850-3c38a84efb84%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[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 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/a557c26c-f2f6-4ba2-bc8e-c5ab7df20627%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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))
throw new ArgumentException("Depth must be 1, 2, 4, 8, 16, 
or 32 bits.", "depth");


if (width <= 0) throw new ArgumentException("Width must be 
greater than zero", "width");
if (height <= 0) throw new ArgumentException("Height must be 
greater than zero", "height");


var handle = Interop.LeptonicaApi.Native.pixCreate(width, height
, depth);
if (handle == IntPtr.Zero) throw new 
InvalidOperationException("Failed 
to create pix, this normally occurs because the requested image size is too 
large, please check Standard Error Output.");


return Create(handle);
}



-- 
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/07eef4a7-f0e0-4e62-b66a-7e0fe7b1aead%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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();
>>   
>> ​>>​
>>Pix pix = b.Convert(bitmap);
>>
>> This is not leptonica code.​  It shouldn't compile, with b being a ptr 
>> that is dereferenced with a ".".  This is then set equal to a pix which is 
>> (as written) not a ptr either, causing a copy if it were correct.
>>
>

-- 
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/919b2c7e-aa57-44a3-8c57-cdaa95baf4e4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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 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/62a2599b-9b61-4289-8b9f-a92c7588fbd2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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.
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/786a2d0b-2174-4029-9ca6-b4016370fe87%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[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 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/8aa3cf71-ee94-4ded-a021-51f0ffe3ed66%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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 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/58dc03b7-b17d-45bf-aecf-399e8b5ef424%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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 allow 
fallback
// to Tesseract when things get difficult.
  OEM_DEFAULT,  // Specify this mode when calling init_*(),
// to indicate that any of the above modes
// should be automatically inferred from the
// variables in the language-specific 
config,
// command-line configs, or if not specified
// in any of the above should be set to the
// default OEM_TESSERACT_ONLY.
  OEM_CUBE_ONLY,// Run Cube only - better accuracy, but 
slower
  OEM_TESSERACT_CUBE_COMBINED,  // Run both and combine results - best 
accuracy
};



On Wednesday, March 22, 2017 at 12:04:24 PM UTC-4, shree wrote:
>
> Sorry, mentioned incorrect code for LSTM
>
> OCR Engine modes:
>   0Original Tesseract only.
>   1Neural nets LSTM only.
>   2Tesseract + LSTM.
>   3Default, based on what is available
>
>
> - excuse the brevity, sent from mobile
>
> On 22-Mar-2017 9:02 PM, "ShreeDevi Kumar"  > wrote:
>
>> The initial 4.0alpha tag from November has cube in it. It was deleted 
>> later and is no longer in master.
>>
>> In fact, the OEM code for LSTM was originally 4 and now is 2.
>>
>> Shouldn't semantic versioning require tagging at major updates?
>>
>> - excuse the brevity, sent from mobile
>>
>> On 22-Mar-2017 8:58 PM, "universal reseller" > > wrote:
>>
>>> ​how did you used cube engine on tesse 4 !?
>>>
>>> -- 
>>> 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-oc...@googlegroups.com .
>>> To post to this group, send email to tesser...@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/CAC9ebrorORNrpApquscKiPf2Qbguc85qY1SJve6heu2j4Dithg%40mail.gmail.com
>>>  
>>> 
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>

-- 
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/0a0bb2e9-cc85-464c-8801-c4614edbfd05%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[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 Only mode to be faster 
than Tesseract and Cube mode?

This is an x64 Windows build of Tesseract with Leptonica 1.74.1. 
 eng.traindata was used from the 4.0 download.

RECOGNIZE TIME: 00:00:11.3292062 | ENGINE: LstmOnly

RECOGNIZE TIME: 00:00:05.9569210 | ENGINE: TesseractAndCube

RECOGNIZE TIME: 00:00:10.6854010 | ENGINE: TesseractAndLstm

RECOGNIZE TIME: 00:00:10.6725257 | ENGINE: Default



-- 
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/bf2efcb0-85ee-4b75-9a23-7a6dfbd119c2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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 is the correct procedure for VS2017:
>>
>  
>
>> cd \petri
>> mkdir Win64
>> cd Win64
>> 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 Win64 && cd Win64
>> cppan ..
>> cmake .. -G "Visual Studio 15 2017 Win64"
>>
>>  edit cppan.yml and uncomment, and edit, this line:
>>
>> #generator: Visual Studio 14 2015 Win64 -> generator: Visual Studio 15 
>> 2017 Win64
>>
>> cppan --generate .
>>
>> Open the tesseract.sln created in this same folder using Visual Studio 
>> 2017, select the Release configuration and then build.
>>
>

-- 
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/69826136-9480-4653-9a6f-1bebd56ae5f4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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 necessary, but I'm trying to avoid 
> improvising)
> mkdir Win32 && cd Win32
> cppan ..
> cmake .. -G "Visual Studio 15 2017 Win64"
>
>  edit cppan.yml and uncomment, and edit, this line:
>
> #generator: Visual Studio 14 2015 Win64 -> generator: Visual Studio 15 
> 2017 Win64
>
> cppan --generate .
>
> Open the tesseract.sln created in this same folder using Visual Studio 
> 2017, select the Release configuration and then build.
>

-- 
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/5e5bdb4f-aef8-4f53-9e22-3be210996b14%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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 cppan.yml and uncomment this line:

#generator: Visual Studio 14 2015 Win64 -> generator: Visual Studio 14 2015 
Win64

cppan -- generate .

This results in the following:

D:\Petri\Win64\tesseract\Win64>cppan --generate .

no files found

So here is me improvising:

cd ..

cppan --generate .

This created an SLN 
in C:\Users\\.cppan\storage\tmp\build\7a6e40d4\d546a32f\build

I opened it in Visual Studio 2015 and selected the Release configuration. 
 It builds.

-- 
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/c6c85b4c-3a21-4458-acf4-0d8c077fe6d2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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 a second time produced no errors, but no sln 
was added or updated.  I was running against the repository that I had 
created for Win32, so maybe I have a dirty environment.  I'm retrying with 
a clean repository.

I'll post my experience shortly.

-- 
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/cbdeea61-4cf5-43f1-9db0-abef05c25aec%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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 Output Directory 
and Intermediate Directory under the Configuration Properties | General 
tab.  Under Configuration Properties | Linker | All Options scroll up to 
Additional Options and remove /MACHINE:X86.  For some projects this is 
found under Librarian instead of Linker.

This gets the build as far as linking.  The result is a lot of undefined 
references.  I presume this occurs because dependent libraries are x86, but 
I don't know.  Apparently cppan places the dependencies in Build\Release 
but chooses x86 (because there aren't x64 versions??).  I'm ignorant of the 
cmake/cppan/git eco system.

Anyone that can give direction I'd welcome your input.

-- 
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/fecaf88b-336f-4627-9d71-6c4d6fa12046%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[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 
paths alone.  This compiled on Visual Studio 2017.

-- 
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/ffb9a0b6-badc-4465-9fe0-448b65c9ebf6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[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 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/f3cc07a3-ef5a-4485-be06-d6614cf25880%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.