Modify OCR text

Discussions about OCR & MICR support in GdPicture.
Post Reply
Posts: 1
Joined: Wed Apr 02, 2014 11:44 am

Modify OCR text

Post by Marsh » Wed Apr 02, 2014 11:53 am

Is there a way to modify the text extracted from an image ,
then using the modifed text to create a PDF-A, instead of the originally extracted text?

Posts: 352
Joined: Tue Sep 27, 2011 11:47 am

Re: Modify OCR text

Post by SamiKharma » Mon Apr 14, 2014 12:03 pm


After you OCR an image, you can modify the text however you want. If you want to create a PDF/A with a Text, you need to create a GdPicturePDF, create a new PDF/A using GdPicturePDf.NewPDF(true);//true is for PDF/A
Then you need to use the DrawText function of the class to draw your text. Of course you will be responsible for the rendering and will have to figure out how to make it look the way you want.


Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest