This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Thursday, April 6, 2006 8:34:09 PM(UTC)
Groups: Registered
Posts: 10
i am using Document imaging Suit 14.5, i am getting a problem while doing ocr image. Sometimes when images are big in dimentions like 3392 X 5552 or 2544 x 3458, then method Recognize of RasterDoc object return error 21248 or ERROR_DOC_BAD_IMAGE_SIZE.
i am also attaching image, which has problem.
Pls do need ful as it is urgent.
below is the code :
nRet = RasterDoc.Recognize(RecognizePage.nStartPage - 1, RecognizePage.nPageCount)
Neeraj Kaushik
#2
Posted
:
Monday, April 10, 2006 6:07:05 AM(UTC)
Groups: Guests
Posts: 3,022
Was thanked: 2 time(s) in 2 post(s)
Try changing the DPI of the image to 300x300. It solved the problem on my end.
#3
Posted
:
Thursday, April 13, 2006 12:04:05 AM(UTC)
Groups: Registered
Posts: 10
Can U Give me the code for it in VB6.0.
thanks for your co-operation.
Neeraj Kaushik
#4
Posted
:
Sunday, April 16, 2006 12:04:08 AM(UTC)
Groups: Guests
Posts: 3,022
Was thanked: 2 time(s) in 2 post(s)
Right after loading the image (and before doing OCR) set the BitmapXRes and BitmapYRes properties to 300.
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.