Loading...

pdf ocr with hindi language

Support for GdPicture Tessaract Plugin.

pdf ocr with hindi language

Postby 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
rackteam
 
Posts: 5
Joined: Sat Jul 30, 2011 8:27 am

Re: pdf ocr with hindi language

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

Hi,

Please create a ticket at http://support.gdpicture.com.

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.
Loïc Carrère, support team.
www.orpalis.com
User avatar
Loïc
Site Admin
 
Posts: 4437
Joined: Tue Oct 17, 2006 10:48 pm
Location: France

Re: pdf ocr with hindi language

Postby 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
rackteam
 
Posts: 5
Joined: Sat Jul 30, 2011 8:27 am

Re: pdf ocr with hindi language

Postby 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
Loïc Carrère, support team.
www.orpalis.com
User avatar
Loïc
Site Admin
 
Posts: 4437
Joined: Tue Oct 17, 2006 10:48 pm
Location: France


Return to GdPicture Tesseract OCR Engine Plugin

Who is online

Users browsing this forum: No registered users and 0 guests