Extract text from bright background color image(yellow)
38 views
Skip to first unread message
April Shar
unread,
May 21, 2019, 5:51:48 AM5/21/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to tesseract-ocr
I'm using tesseract 3.0.2, seems like it cannot read text with very bright background (see image). Is there a way to do so? Microsoft Azure works better and can read the text.
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to tesseract-ocr
Simple thresholding should work. You'll have to use something like OpenCV or your own routine if you are daring. If you convert to gray, anything less than 64 (out of 255) goes to black, and anything above that goes to white.
April Shar
unread,
May 22, 2019, 9:32:24 PM5/22/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to tesseract-ocr
Will it still recognize black/white text if thresholding?