JohnWang0512 / tesseract-ocr

Automatically exported from code.google.com/p/tesseract-ocr
Other
0 stars 0 forks source link

Getting -> "Error: Illegal malloc request size!; " with multiple training images. #1466

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Run the batch file "TessTrain.bat", <Enter>, <Enter>
2.
3.

What is the expected output? What do you see instead?
I seem to get a reasonable traineddata output. Though am concerned I get this 
error when have more than 1 training image.

What version of the product are you using? On what operating system?
Tesseract 3.02, Windows 7 Proffesional SP1

Please provide any additional information below.
With one image all seems fine. Addinging in additional training images I get 
"Error: Illegal malloc request size!" per additional image. Though it does seem 
to produce reasonable traineddata. What is happening - is the traineddata I am 
getting valid?

Thanks, Lawrence 

Original issue reported on code.google.com by lawrence...@gmail.com on 29 Apr 2015 at 9:50

Attachments:

GoogleCodeExporter commented 9 years ago
Please follow tranining as described
https://code.google.com/p/tesseract-ocr/wiki/TrainingTesseract3 (well it is 
already updated to current code, where several issues were solved, but users 
were able to trainin also with 3.02 version.

We will not analyze you script if you do everything corretly. 

Original comment by zde...@gmail.com on 30 Apr 2015 at 6:24