pdf ocr with hindi language

Discussions about machine vision support in GdPicture.
Post Reply
rackteam
Posts: 5
Joined: Sat Jul 30, 2011 8:27 am

pdf ocr with hindi language

Post by rackteam » Tue Aug 23, 2011 9:39 am

Hi Loic,

i am scanning a document which is in Hindi language

and i want to save it as a pdfocr.

My code:

Code: Select all

IntPtr ObjIntPtr = (IntPtr)hdib;
                string ocrPath = AppDomain.CurrentDomain.BaseDirectory.ToString() + "\\OCR";
                int pdf_ImagePointer = ObjGdPictureImaging.CreateGdPictureImageFromDIB(ObjIntPtr);

                //for converting scanned pdf to pdf ocr
                ObjGdPictureImaging.SaveAsPDFOCR(pdf_ImagePointer, p_FileName, "hin", ocrPath, "", true, "", "", "", "", "");
                //ObjGdPictureImaging.SaveAsPDF(pdf_ImagePointer, p_FileName, true, "", "", "", "", "");
                ObjGdPictureImaging.ReleaseGdPictureImage(pdf_ImagePointer);


i have downloaded "hin.traineddata" from gdpicture website

but i am getting error as:
Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
plz reply asap

User avatar
Loïc
Site Admin
Posts: 5881
Joined: Tue Oct 17, 2006 10:48 pm
Location: France
Contact:

Re: pdf ocr with hindi language

Post by Loïc » Wed Aug 24, 2011 6:00 am

Hi,

Please create a ticket at https://www.gdpicture.com/support/getting-support-from-our-team.

To reproduce the problem we need a standalone application + the PDF that cause the crash.

Kind regards,

Loïc

Note: ticked moved into the good section.

rackteam
Posts: 5
Joined: Sat Jul 30, 2011 8:27 am

Re: pdf ocr with hindi language

Post by rackteam » Thu Aug 25, 2011 1:48 pm

Hi Loic

Thanks for your reply

I am scanning the hindi document and want to save it in odf ocr.

I can send u the image of the document.

but it is impossible to send u the application. sorry.

with regards,

RackTeam

User avatar
Loïc
Site Admin
Posts: 5881
Joined: Tue Oct 17, 2006 10:48 pm
Location: France
Contact:

Re: pdf ocr with hindi language

Post by Loïc » Thu Aug 25, 2011 6:26 pm

Hi,

I don't ask for your project but for a simple standalone application that reproduces the problem.

Kind regards,

Loïc

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest