We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Searchable Pdf not able to read header in from Tiff

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);

@Gpatil

An issue as OCRNET-621 has been logged in our issue tracking system for further investigation. We will look into its details and keep you posted with the status of ticket resolution. Please be patient and spare us some time. We are sorry for the inconvenience,

@Gpatil

We used PHOTO for area detection and obtained better results. Also, please try to use the latest available version and let us know in case you still notice any issues:
OCRResults.zip (50.3 KB)