Hi,
Thank you for your update,
We have Ocr-ed the different types of input PDF files in our side, the mentioned text is not coping issue is not reproduce.
Please find the code snippet and sample for Ocr the PDF file.
Code snippet:
string Tesserctbinaries = Server.MapPath("~/Tesseract binaries");
string Testdata = Server.MapPath("~/Tessdata");
//Initialize the OCR processor
using (OCRProcessor processor = new OCRProcessor(Tesserctbinaries))
{
//Load the PDF document
PdfLoadedDocument lDoc = new PdfLoadedDocument(Server.MapPath("~/App_Data/Region.pdf"));
//Language to process the OCR
processor.Settings.Language = Languages.English;
processor.PerformOCR(lDoc, Testdata);
lDoc.Save(Server.MapPath("~/Output/sample.pdf"));
}
|
Sample link:
So kindly provide the input document it will helpful us to analyze and provide the solution earlier.
Regards,
Sasi kumar S.