Welcome Guest! To enable all features, please Login or Register.

Notification

Icon
Error

Options
View
Last Go to last post Unread Go to first unread post
#1 Posted : Monday, August 21, 2006 3:06:24 AM(UTC)
guomingzhi

Groups: Registered
Posts: 1


How can i ocr the number in color background ?
guomingzhi attached the following image(s):
test.jpg
 

Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

#2 Posted : Wednesday, August 23, 2006 10:56:40 AM(UTC)

GregR  
GregR

Groups: Registered, Tech Support, Administrators
Posts: 764


First, this image has a low resolution, 150x150 dpi.  For OCR to be effective, you should have an image with a resolution of at least 300 dpi.  Also, the white text is not exactly the same color where the text occurs.  These are the two main difficulties.

You can OCR the text if you create a region based on a color range (RasterImage.AddColorRGBRange() in .NET) that will select the text.  You could then fill that region with all black.  After that you would want to select the same region using the SETNOT combine mode to select the opposite of the region you just filled and then fill that region as all white.  This will then make the text black on a white background and you should be able to OCR.
 
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF.NET | YAF.NET © 2003-2024, Yet Another Forum.NET
This page was generated in 0.049 seconds.