Need help in training Tesseract with application images

101 views
Skip to first unread message

preeti padalia

unread,
Dec 19, 2019, 12:44:43 AM12/19/19
to tesseract-ocr
Hi,

We are using tesseract to perform actions and verifications for our application. But we are facing issues for some of the characters. As i have never tried training if any one can help with this.

Any link for how to train with application image.
how to prepare training data.
How to do the training in windows if possible.
Thanks in advance.

Shree Devi Kumar

unread,
Dec 19, 2019, 7:38:30 AM12/19/19
to tesseract-ocr

This works on line images and their ground-truth transcription.

On Windows, you could install WSL for running the *NIX scripts.

--
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 view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/11c54009-25e1-439e-96ab-ee2ad049453b%40googlegroups.com.


--

____________________________________________________________
भजन - कीर्तन - आरती @ http://bhajans.ramparivar.com

preeti padalia

unread,
Feb 15, 2020, 9:34:51 AM2/15/20
to tesser...@googlegroups.com
Hi shree, 
Because of some other priorities i could not check this. I tried your suggestion and based on document for tesstrain u tried to make training of sample test set in tesstrain.
I am trying to do the setup in windows usi g cygwin.
But getting following error

make training

tesseract data/foo-ground-truth/alexis_ruhe01_1852_0018_022.tif data/foo-ground-truth/alexis_ruhe01_1852_0018_022 --psm 6 lstm.train

Tesseract Open Source OCR Engine v5.0.0-alpha with Leptonica

Page 1

Warning: Invalid resolution 0 dpi. Using 70 instead.

Failed to read boxes from data/foo-ground-truth/alexis_ruhe01_1852_0018_022.tif

Error during processing.

make: *** [Makefile:187: data/foo-ground-truth/alexis_ruhe01_1852_0018_022.lstmf] Error 1

 Please help .


Reply all
Reply to author
Forward
0 new messages