Shapetable not responding

81 views
Skip to first unread message

Cailey McVay

unread,
Oct 29, 2020, 8:27:03 AM10/29/20
to tesseract-ocr
Hello,
I am trying to fine-tune Tesseract with a new language to interpret these images posted below. I am able to create the box tr file with:
 tesseract NTS.tif NTS --psm6 nobatch box.train. 
And the unicharset file with:
 unicharset_extractor NTS.box. 
However when I get to the command for making the shapetable I use:
 shapeclustering -F font_properties.txt -U unicharset -O NTS.unicharset NTS.font.exp0.tr 

And receive: Reading NTS.font.exp0.tr ...

Building master shape table

Computing shape distances...

Stopped with 0 merged, min dist 999.000000

Computing shape distances...

Stopped with 0 merged, min dist 999.000000

Computing shape distances...

Stopped with 0 merged, min dist 999.000000

Computing shape distances... 0

Stopped with 0 merged, min dist 999.000000

Computing shape distances... 0

Stopped with 0 merged, min dist 999.000000

Computing shape distances... 0

Stopped with 0 merged, min dist 999.000000

Computing shape distances... 0

Stopped with 0 merged, min dist 999.000000

Computing shape distances... 0

Stopped with 0 merged, min dist 999.000000

Computing shape distances... 0

Stopped with 0 merged, min dist 999.000000

Computing shape distances... 0

Stopped with 0 merged, min dist 999.000000

Computing shape distances... 0

Stopped with 0 merged, min dist 999.000000

Computing shape distances... 0

Stopped with 0 merged, min dist 999.000000

Computing shape distances... 0

Stopped with 0 merged, min dist 999.000000

Computing shape distances... 0

Stopped with 0 merged, min dist 999.000000

Computing shape distances...

Stopped with 0 merged, min dist 999.000000

Computing shape distances...

Stopped with 0 merged, min dist 999.000000

Computing shape distances... 0 1 2 3 4 5 6 7 8 9 10

Stopped with 0 merged, min dist 0.061111

Master shape_table:Number of shapes = 11 max unichars = 1 number with multiple unichars = 0


However, when I examine the shapetable afterwards I get a blank file that I cannot use for further steps. Does anyone have any advice?


Ankit Bisht

unread,
Dec 10, 2021, 1:41:36 AM12/10/21
to tesseract-ocr
You might be running the commands in Windows, Try Linux.


CMMi Level 5 | ISO 9001:2015 | BSE: KELLTONTECH

CONFIDENTIALITY INFORMATION AND DISCLAIMER

This e-mail message and/or attachments being sent from Kellton Tech is privileged, confidential, and directed to and for the use of the addressee only. If you are not the intended recipient of this message, or if this message has been addressed to you in error, please alert the sender immediately by reply e-mail and then delete this message, including any attachments. We also request you not to use, reproduce, review, copy, disseminate or distribute it. Distribution or use of the contents of this message by anyone other than the intended recipient is strictly prohibited. 

Please don't print this Email unless you really need to. This will preserve trees on planet Earth.

Reply all
Reply to author
Forward
0 new messages