Re: [tesseract-ocr] training doubts

97 views
Skip to first unread message
Message has been deleted

Shree Devi Kumar

unread,
Oct 20, 2020, 11:47:56 PM10/20/20
to tesseract-ocr
For English, most of the times, preprocessing your images and using official traineddata will give better results than trying to do training.

For finetuning, (https://tesseract-ocr.github.io/tessdoc/TrainingTesseract-4.00.html#fine-tuning-for-impact) what is recommended is using the existing training text and a new font, so that there are minimal changes to traineddata. Using your own training data will not give you good results.

> train tesseract on my documents

Use the Makefile based training from tesstrain repo.


On Tue, Oct 20, 2020 at 11:00 PM Kumar Rajwani <kumarraj...@gmail.com> wrote:

hey i need small help as i have to train tesseract on my documents.
I have already read some training issues and i have steps that i can perform.

  1. !tesseract "document.png" "document" -l eng --psm 11 wordstrbox it will give me line lavel box
    correct ocr. copy image file and box file in tessdata folder

  2. src/training/tesstrain.sh --fonts_dir /usr/share/fonts --lang eng --linedata_only
    --noextract_font_properties --langdata_dir ../langdata
    --tessdata_dir ./tessdata --output_dir ~/tesstutorial/engtrain

  • so this is right thing or i have to do anything else?

  •  It will also finetune detection right?

  •  can i finetune on word level like linedata_only?

  •  i am using tesseract 5 and tessedit_do_invert=0 but it still slow. so which steps i can perform at time training will improve time.

--
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/3bed1059-dbb4-40e7-97c1-fd0cc4b9a32fn%40googlegroups.com.


--

____________________________________________________________
भजन - कीर्तन - आरती @ http://bhajans.ramparivar.com
Reply all
Reply to author
Forward
Message has been deleted
0 new messages