This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Tuesday, October 27, 2009 11:37:08 PM(UTC)
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?
#2
Posted
:
Tuesday, October 27, 2009 11:41:03 PM(UTC)
Groups: Registered
Posts: 17
I attach the image again.
#3
Posted
:
Wednesday, October 28, 2009 7:44:32 AM(UTC)
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)
Groups: Registered
Posts: 17
What is the least DPI value for OCR?
#5
Posted
:
Sunday, November 1, 2009 1:03:56 AM(UTC)
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.