tesseract ocr for ocv

79 views
Skip to first unread message

chris...@gmail.com

unread,
Jul 8, 2016, 9:24:24 AM7/8/16
to tesseract-ocr
Hello, I want to use tesseract to check if there is printed the correct freshness date on a product. After teaching tesseract i still have about 10% of dates read wrong.
Mostly 5 and 6 are mixed up.

However, since I know the what the date should be I can set a whitelist with the according character for each region and just check if the confidence level is high enough. When I was using SetRectangle for the entire text field I was getting high confidences for each character.

Now I iterated through all regions using their bounding boxes for SetRectangle and setting a new whitelist the confidences were much lower.

Any ideas what I am doing wrong? Any easier ways to use ocv with tesseract? Or an entirely different approach?
Reply all
Reply to author
Forward
0 new messages