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 : Wednesday, August 8, 2007 6:53:34 AM(UTC)

bsuresh  
bsuresh

Groups: Registered
Posts: 32


Hi,

We are using Leadtools 15 with C#.

Even when there is content on the page, we are getting the following error when trying to OCR some images.
-------------
No recognized text available, either because the zone is empty or the required recognition module has not been initialized properly.
-------------

What could be wrong? Please help...

Suresh
 

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 : Friday, August 10, 2007 6:57:34 AM(UTC)

GregR  
GregR

Groups: Registered, Tech Support, Administrators
Posts: 764


This is usually a problem with the image not having text, the text cannot be found because the background color is too similar, the image is of bad quality, or a combination.

Since it works for some images, I doubt that the latter part of the error "...not been initialized properly" is the cause.

Please send an image or two that reproduces this problem.  Make sure that you do not press the preview button before posting or the attachment will get dropped.  If you do not want to post the file publically, or the file is too large (>5MB) then send an email to support@leadtools.com and attach the file or ask for FTP instructions.  Be sure to include a link to this forum post.
 
#3 Posted : Monday, August 13, 2007 10:01:24 AM(UTC)

bsuresh  
bsuresh

Groups: Registered
Posts: 32


Please find one of the images.
 
#4 Posted : Monday, August 13, 2007 10:02:33 AM(UTC)

bsuresh  
bsuresh

Groups: Registered
Posts: 32


Please check the attachment in zipped format (It contains a tif)
File Attachment(s):
sample1.zip (4kb) downloaded 29 time(s).
 
#5 Posted : Tuesday, August 14, 2007 4:16:05 AM(UTC)

GregR  
GregR

Groups: Registered, Tech Support, Administrators
Posts: 764


The problem with your file is the background.  It appears that this was once a color image that was converted to a black and white image with some dithering.  The dithering used small dots to give the appearance of grayscale, but the background interefered with the OCR results.  I did a DotRemove on your image and was able to OCR the text (dot removed image is attached).
File Attachment(s):
sample1_dotremove.zip (1kb) downloaded 29 time(s).
 
#6 Posted : Wednesday, August 29, 2007 6:27:59 AM(UTC)

bsuresh  
bsuresh

Groups: Registered
Posts: 32


Thanks Greg. Please check attached pic. It has text that is not recognized. Only top text (headers) is recognized. How can we extract the text in between.

Thanks,
Suresh
 
#7 Posted : Wednesday, August 29, 2007 6:29:12 AM(UTC)

bsuresh  
bsuresh

Groups: Registered
Posts: 32


Please check the attachment here.
File Attachment(s):
P9536.zip (134kb) downloaded 31 time(s).
 
#8 Posted : Thursday, August 30, 2007 6:23:51 AM(UTC)

GregR  
GregR

Groups: Registered, Tech Support, Administrators
Posts: 764


This image's text (i'm assuming the problem is the light text in the middle) is too light.  As you can see it is heavily half-toned so the text is not "together" but very spacy.  I used the L_MinFilterBitmap function (MinimumCommand in .NET) to dilate the pixels to fill in the gaps resulting from the half-toning and was able to recognize the text.  The accuracy was not as good, but you should be able to tweak the settings of the function and combine it with some others like SmoothCommand and get better results.
File Attachment(s):
P9536_minfilter.zip (52kb) downloaded 28 time(s).
 
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.211 seconds.