This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Monday, August 21, 2006 3:06:24 AM(UTC)
Groups: Registered
Posts: 1
How can i ocr the number in color background ?
guomingzhi attached the following image(s):
#2
Posted
:
Wednesday, August 23, 2006 10:56:40 AM(UTC)
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.