TIFFs.zip (128.1 KB)
Hi Team,
We are using latest Aspose.OCR nuget 22.11.1, with below code, The searchable pdf is not having the header which we want. The text file do not have the footer. As of now we care for searchable pdf ,Could you pls let us know how can we get this fixed . Sample file is attached as zip
DocumentRecognitionSettings DRS = new DocumentRecognitionSettings()
{
PagesNumber = 0,
UpscaleSmallFont = true,
PreprocessingFilters = filter,
AllowedCharacters = CharactersAllowedType.ALL,
DetectAreasMode = DetectAreasMode.COMBINE,
IgnoredCharacters = "", // define the symbols you want to ignore in the recognition result
Language = Language.Eng,
};
Aspose.OCR.License ocrLicense = new Aspose.OCR.License();
if (!ocrLicense.IsLicensed)
ocrLicense.SetLicense("Aspose.Total.NET.lic");
AsposeOcr api = new AsposeOcr();
List<RecognitionResult> lst = api.RecognizeTiff(filepath, DRS);
string filepath = "d:\Sample1Page.tif"
AsposeOcr.SaveMultipageDocument(filepath+".hoct.txt", Aspose.OCR.SaveFormat.Text, lst);
AsposeOcr.SaveMultipageDocument(filepath + ".hoct.pdf", Aspose.OCR.SaveFormat.Pdf, lst);