PSM value

73 views
Skip to first unread message

piyus...@gmail.com

unread,
Jul 29, 2021, 1:59:48 PM7/29/21
to tesseract-ocr
I tried with the text attached, Tesseract doesn't produce result normally but with PSM value 6 it works. What should I do to make tesseract work without the PSM value. Does it need training? What to do while training to solve this issue?

Any help is much appriciated.

Thanks & Regards,
Piyush
BloodGroup_A+.tif
BloodGroup_A-.tif

Ajinkya Bobade

unread,
Aug 12, 2021, 12:41:05 AM8/12/21
to tesseract-ocr
Hello,

Whether it needs training or not depends on your test set, for many clients I have trained tesseract from scratch because it required highly specific output. If that is the case you need to retrain. But if its generic use case there is no need to retrain. I am making a wild guess here that the model that you are using with tesseract is a custom model which was trained to work with PSM 6 . I dont think you can make it work without PSM. PSM is responsible for length of characters that the tesseract detects.

Regards
Ajinkya
Creator of AI Scanner https://imagescanner-online.com/
Reply all
Reply to author
Forward
0 new messages