Browse our Products

Aspose.OCR for .NET 22.3 - Release Notes

All Features

KeySummaryCategory
OCRNET-457Add multipage DJVU input supportEnhancement
OCRNET-480Improve the logic of the COMBINE mode for areas recognitionEnhancement
OCRNET-481Error converting an PDF to a searchable PDFBugfix

Enhancements

  • added support for multipage DJVU files
  • fixed PDF creation
  • improved text area detection algorithm

Public API and Backwards Incompatible Changes

New API

  • added new method List RecognizeDjvu(string fullPath, DocumentRecognitionSettings settings) in public API

Removed APIs

All methods of the previous release are supported.

Will be deprecated

Usage Example

using Aspose.OCR;

namespace ProgramOCR
{
    class Program
    {
        static void Main(string[] args)
        {
            // Get API
            AsposeOcr api = new AsposeOcr();

            // Create license
            License lic = new License();

            // Set license
            lic.SetLicense("Aspose.Total.lic");

            // Get image for recognize
            string image = "D://img.png";

            // Recognize image           
            List<RecognitionResult> result =  api.RecognizeDjvu("sample.djvu", new DocumentRecognitionSettings { });           

            // Print result
            foreach (var result in results)
            {
                Console.WriteLine(result.RecognitionText);
            }
        }
    }
}