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 : Tuesday, October 27, 2009 11:37:08 PM(UTC)

yonjh  
yonjh

Groups: Registered
Posts: 17


L_FileInfo() function return -10 when it's called with attachment image(Extract_NoRecog.bmp).

And L_Doc2AddPage() function return ERROR_DOC_INV_IMAGE_RESOLUTION.

But the image is loaded without any problem.

How can I fix this problem?

 

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 : Tuesday, October 27, 2009 11:41:03 PM(UTC)

yonjh  
yonjh

Groups: Registered
Posts: 17


I attach the image again.

File Attachment(s):
Extract_NoRecog.zip (5kb) downloaded 23 time(s).
 
#3 Posted : Wednesday, October 28, 2009 7:44:32 AM(UTC)

Basel  
Guest

Groups: Guests
Posts: 3,022

Was thanked: 2 time(s) in 2 post(s)

The error message -10 means 'File Not Found'. Can you please make sure you are giving the same string from your loading function to L_FileInfo()? If there's any error in the file name or the path, such as using one backslash value in the string "\" instead of "\\", the file will not be found.

About the error message 'ERROR_DOC_INV_IMAGE_RESOLUTION', the bitmap has resolution of 72 DPI, which is too low for OCR.
 
#4 Posted : Friday, October 30, 2009 6:30:43 PM(UTC)

yonjh  
yonjh

Groups: Registered
Posts: 17


What is  the least DPI value for OCR?

 
#5 Posted : Sunday, November 1, 2009 1:03:56 AM(UTC)

Basel  
Guest

Groups: Guests
Posts: 3,022

Was thanked: 2 time(s) in 2 post(s)

The recommended value is 300. But also, this depends on the image's height and width. If you have a very high width/height, you might need more DPI.

For more information, please take a look at the help topic "An Overview of Recognition Modules" in our OCR C DLL help file.

 
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.066 seconds.