Search found 27 matches

by eagleman
Fri Aug 27, 2010 5:14 pm
Forum: Image Processing & Document Imaging
Topic: type document in image processing
Replies: 3
Views: 626

Re: type document in image processing

@gtoledo, You need to add some logic to your program of course. A document is recognized by its first page (and that is always the case!). So, if a page is recognized, but, lets say below 85%, than this page is NOT a first page of a document, but the 2nd or 3rd or.... of the document which was recog...
by eagleman
Tue Aug 17, 2010 5:08 pm
Forum: Tesseract OCR
Topic: PDF + OCR not PDF/A
Replies: 8
Views: 1638

Re: PDF + OCR not PDF/A

@rromeijn,

Make sure you have the latest manual. Although the manual does not show any version number, its name = "GdPicture_NET Document Imaging SDK.pdf" and is about 7.1 MB.

The function I mentioned does exist. Try the code I wrote earlier.

Succes.

Groet,
Eagleman
by eagleman
Mon Aug 16, 2010 8:58 pm
Forum: Tesseract OCR
Topic: PDF + OCR not PDF/A
Replies: 8
Views: 1638

Re: PDF + OCR not PDF/A

To do OCR on image and save as PDF: imageID = Imaging1.CreateGdPictureImageFromFile("00000001.JPG"); iPdfId = Imaging1.PdfOCRStart("00000001.PDF", true, "", "", "", "", ""); Imaging1.PdfAddGdPictureImageToPdfOCR(iPdfId , imageID , GdPicture.TesseractDictionary.TesseractDictionaryDutch , Application....
by eagleman
Mon Aug 16, 2010 3:22 pm
Forum: Tesseract OCR
Topic: PDF + OCR not PDF/A
Replies: 8
Views: 1638

Re: PDF + OCR not PDF/A

@rromeijn I do the following: imageID = Imaging1.CreateGdPictureImageFromFile("00000001.JPG"); iPdfId = Imaging1.TwainPdfStart("00000001.PDF", true, "", "", "", "", ""); Imaging1.TwainAddGdPictureImageToPdf(iPdfId, imageID); Imaging1.TwainPdfStop(iPdfId); Imaging1.ReleaseGdPictureImage(imageID); Goo...
by eagleman
Wed Jul 28, 2010 9:50 am
Forum: Image Processing & Document Imaging
Topic: Issue creating thumbnail from PDF
Replies: 2
Views: 498

Re: Issue creating thumbnail from PDF

Thanks.

It works.
by eagleman
Sat Jul 24, 2010 11:34 am
Forum: Image Processing & Document Imaging
Topic: Issue creating thumbnail from PDF
Replies: 2
Views: 498

Issue creating thumbnail from PDF

Dear Loic, I have the following issue: According to the manual, creating a thumbnail from a PDF, the following should be done: int hPdf = objImaging.PdfReaderLoadFromFile(sFilenaam); int iThumbnail = objImaging.PdfReaderGetPageThumbnail(hPdf, 75, 135, Color.Black); However, iThumbnail is always 0. B...
by eagleman
Sat Jul 24, 2010 11:18 am
Forum: Image Processing & Document Imaging
Topic: type document in image processing
Replies: 3
Views: 626

Re: type document in image processing

If you want the process to recognize the document scanned, use ADR.

Very good system.

eagleman
by eagleman
Tue Mar 30, 2010 2:18 pm
Forum: Image Processing & Document Imaging
Topic: Saving an image as TIFF both direct as via clipboard
Replies: 3
Views: 2274

Saving an image as TIFF both direct as via clipboard

I have scanned a document and saving the scanned image as a TIFF file. I also copy the image to the clipboard and creating a new image from the clipboard. This created image is also saved as TIFF. Both files hold the same image, but differ in file size (51K vs 915K). //save scanned image as a TIFF f...
by eagleman
Fri Mar 26, 2010 10:29 am
Forum: Image Processing & Document Imaging
Topic: Transfer image from 1 GdPicture object to another
Replies: 1
Views: 412

Transfer image from 1 GdPicture object to another

Hi, I have a question. In my program, I have 2 GdPicture objects defined, obj1 and obj2. Using obj1, I scan an image resulting in an ImageId. Now I want to transfer the image from obj1 to obj2. What is the best solution? At the moment I copy the scanned image to the clipboard and using obj2 I create...
by eagleman
Sat Mar 13, 2010 2:40 pm
Forum: PDF
Topic: Cannot show PDF when not OCR'ed
Replies: 1
Views: 736

Cannot show PDF when not OCR'ed

Loic, I have the following issue: Creating a non OCR PDF: iPdfId = oImaging.PdfNewPdf(filename); imageID = oImaging.TwainAcquireToGdPictureImage(.....); oImaging.PdfAddImageFromGdPictureImage(iPdfId, imageID); oImaging.PdfEndPdf(iPdfId); When I try to view the created PDF, an error occurs: "The file...
by eagleman
Thu Feb 25, 2010 6:33 pm
Forum: TWAIN Acquisition
Topic: TwainAcquireToGdPictureImage pops up messagebox
Replies: 1
Views: 526

TwainAcquireToGdPictureImage pops up messagebox

Hi Loïc, The function TwainAcquireToGdPictureImage(this.Handle) pops up a messagebox when no paper is loaded on the ADF of the scanner. In that case, user interaction is needed to either click 'Cancel' or 'Again'. Is it possible NOT to have this messagebox being popped up and trap the error in the p...
by eagleman
Tue Feb 16, 2010 11:11 am
Forum: Tesseract OCR
Topic: Number of chars returned by OCRTesseractGetCharCount()
Replies: 2
Views: 718

Number of chars returned by OCRTesseractGetCharCount()

Hi, The function OCRTesseractGetCharCount() returns a number which is less then the string length of the ocr-ed text. What I found out is that OCRTesseractGetCharCount() returns the total number of characters without the number of spaces. So the text "Hello there" is actually 11 chars, but OCRTesser...
by eagleman
Fri Feb 05, 2010 5:23 pm
Forum: TWAIN Acquisition
Topic: Twain acquisition
Replies: 7
Views: 1113

Re: Twain acquisition

You are right: that is THE question.

Thanks for your help.

eagleman