SIMPLE DIGITS CANNOT BE READ...

100 views
Skip to first unread message

Soroosh Farghadani

unread,
Aug 25, 2018, 12:47:31 AM8/25/18
to tesseract-ocr
I have tried many ways but still does not work well...

Screen Shot 2018-08-24 at 1.42.19 PM.png

Yasin Nazlıcan

unread,
Aug 25, 2018, 5:31:53 AM8/25/18
to tesseract-ocr
Have you tried setting whitelist to only numbers?

Art Rhyno

unread,
Aug 25, 2018, 9:12:49 PM8/25/18
to tesser...@googlegroups.com

You might be able to use the color of the numbers to your advantage. If you can copy by color and then paste into an image with a margin around edges (see attached), you will probably get acceptable results.

 

art

--
You received this message because you are subscribed to the Google Groups "tesseract-ocr" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tesseract-oc...@googlegroups.com.
To post to this group, send email to tesser...@googlegroups.com.
Visit this group at https://groups.google.com/group/tesseract-ocr.
To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/9d2e39a2-4c03-4378-82e8-a87873f9afb9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

nums.png
Message has been deleted

Soroosh Farghadani

unread,
Aug 31, 2018, 4:08:08 PM8/31/18
to tesseract-ocr
Thanks.
Yeah ,That will work on this example.But unfortunately I dont know what color the numbers will be.
Like this one:
Screen Shot 2018-09-01 at 12.33.32 AM.png

Art Rhyno

unread,
Aug 31, 2018, 9:18:35 PM8/31/18
to tesser...@googlegroups.com

Tools like opencv can be used to try to identify objects in an image and then selecting by color ranges. A lot depends on the variance of the images but some sort of preprocessing to separate out the digits could make a difference.

 

art

 

From: tesser...@googlegroups.com <tesser...@googlegroups.com> On Behalf Of Soroosh Farghadani
Sent: Friday, August 31, 2018 4:02 PM
To: tesseract-ocr <tesser...@googlegroups.com>
Subject: Re: [tesseract-ocr] SIMPLE DIGITS CANNOT BE READ...

 

Thanks

Yeah,that will work on this example.

But I don't know what color numbers will be.So I can't cut them.

 

 

On Sunday, August 26, 2018 at 5:42:49 AM UTC+4:30, Art Rhyno wrote:

Reply all
Reply to author
Forward
0 new messages