So I was able to successfully get a traineddata file from lstmtraining 
buthave encounterd a new error. When I try to run Tesseract against an 
image as follows:

    tesseract ../test.png out -l lso --oem 1 --psm 7

I get the following error: 

    Failed to read boxes from ../test.png

Any insight as to what may be going wrong here? Note: I trained the file 
with 15 images (each with 8 text lines) and a single font with 800 
iterations. Right now I'm testing with a small dataset. I have a much 
larger dataset to train with once I have the process better figured out.

On Monday, January 7, 2019 at 11:08:48 AM UTC-5, shree wrote:
>
> You need to convert the checkpoint to a traineddata file.
>
> Please see 
> https://github.com/tesseract-ocr/tesseract/wiki/TrainingTesseract-4.00#combining-the-output-files
>
> On Mon, 7 Jan 2019, 11:03 <[email protected] <javascript:> wrote:
>
>> Hey all,
>>
>> After some wrangling, I've been able to get Tesseract to successfully 
>> train on my dataset (i.e. lstmtraining application runs to completion 
>> without critical errors)
>>
>> However, it's not clear in the wiki what exactly the output of 
>> lstmtraining is. In the output directory I set for training output, there 
>> are two files present after training: base_checkpoint and basetrain.txt.
>>
>> Are these the expected output files or is there something I'm missing? Is 
>> the traineddata file modified for use with recognition or is that file only 
>> used for training?
>>
>> Thanks,
>> -Tim
>>
>> -- 
>> 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 [email protected] <javascript:>.
>> To post to this group, send email to [email protected] 
>> <javascript:>.
>> 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/6fe0fda7-fc57-4fc3-a8ec-4d7784a822bd%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/tesseract-ocr/6fe0fda7-fc57-4fc3-a8ec-4d7784a822bd%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> 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 [email protected].
To post to this group, send email to [email protected].
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/0ea08773-68e5-4ec5-ac13-c30dba28d74b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to