Hi,
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?
Modify OCR text
-
- Posts: 352
- Joined: Tue Sep 27, 2011 11:47 am
Re: Modify OCR text
Hi,
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.
Best,
Sami
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.
Best,
Sami
Who is online
Users browsing this forum: No registered users and 0 guests