Tesseract .uzn zone file

123 views
Skip to first unread message

Simas Skubutis

unread,
Jun 7, 2022, 9:20:24 AM6/7/22
to tesseract-ocr
Environment
  • Tesseract Version: 5.1.0
  • Platform: Windows 10 64bit
Problem with .uzn file

After working with tesseract 4.1.0 everything worked perfectly. I used command tesseract inputPhotoName.png outputName -l eng --oem 1 --psm 4 hocr and tesseract automatically picked up inputPhotoName.uzn zone file and returns word which I have specified with coordinates. After I upgraded tesseract version from 4.1.0 to 5.1.0, tesseract 5.1.0 no longer takes inputPhotoName.uzn zone file and returns all founded words in image.
After a lot of searching I cant find a solution how can I pass inputPhotoName.uzn file to tesseract 5.1.0. Maybe tesseract 5.1.0 no longer support .uzn files?

inputPhotoName.uzn file content: 215 3334 95 19
Tesseract 4.1.0/5.1.0 commands: tesseract inputPhotoName.png outputName -l eng --oem 1 --psm 4 hocr

Simas Skubutis

unread,
Jun 8, 2022, 5:55:04 AM6/8/22
to tesseract-ocr
There was a bug and now it is fixed. See more: https://github.com/tesseract-ocr/tesseract/issues/3837
Reply all
Reply to author
Forward
0 new messages