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 : Thursday, April 6, 2006 8:39:09 PM(UTC)
neerajkaushik_123

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

File Attachment(s):
2006-00152840.zip (581kb) downloaded 27 time(s).
 

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 : Monday, April 10, 2006 6:12:05 AM(UTC)

Bashar  
Guest

Groups: Guests
Posts: 3,040

Was thanked: 1 time(s) in 1 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:09:05 AM(UTC)
neerajkaushik_123

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:09:08 AM(UTC)

Bashar  
Guest

Groups: Guests
Posts: 3,040

Was thanked: 1 time(s) in 1 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.

Powered by YAF.NET | YAF.NET © 2003-2019, Yet Another Forum.NET
This page was generated in 0.154 seconds.