Skip to content

Tesseract 4 traineddata for recognizing Seven Segment Display

License

Notifications You must be signed in to change notification settings

Shreeshrii/tessdata_ssd

Repository files navigation

tessdata_ssd

Traineddata for Tesseract 4 for recognizing Seven Segment Display

This is a proof of concept traineddata in response to these posts in tesseract-ocr google group, 1 and 2.

The training text and scripts used are provided for reference.

Feel free to clone the repo and rerun training with your own custom training_text and fonts. You will also need files from tesseract_ocr/langdata and tesseract_ocr/tessdata_best.

Finetune Plus Training from tessdata_best/eng.traineddata

Finetune Plus training was done using a training text of 9700+ lines with only numbers and limited punctuation (. : /) etc.

Three Seven Segment Display fonts were used for making synthetic training data.

  • "DB LCD Temp Heavy" \
  • "SF Digital Readout Heavy" \
  • "Seven Segment" \

14000 iterations - char train=0.186%, word train=0.4%

Evaluation

Evaluation was done using synthetic data generated using an evaluation text of over 440 lines with only numbers and limited punctuation (. : /) using same 3 fonts.

Test of a small sample of real life images gives better results with the older 7seg.traineddata. See #1 for details

Other SSD Projects (I have not tried them)

About

Tesseract 4 traineddata for recognizing Seven Segment Display

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages