Aspose.OCR for .NET 22.2 - Release Notes

All Features

OCRNET-385Craft text detector integrationEnhancement
OCRNET-474Create the combine mode for DSR/CRAFT areas recognitionEnhancement
OCRNET-471Test opimized modelsEnhancement
OCRNET-470Fix image extraction from PDFBug


  • reduced package size
  • added ability to choose mode of areas detection
  • increased recognition speed

Public API and Backwards Incompatible Changes


  • added new enum DetectAreasMode with fields: DOCUMENT, PHOTO, COMBINED, NONE
  • added property DetectAreasMode to the RecognitionSettings class

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

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

            // Recognize image           
            RecognitionSettings set = new RecognitionSettings{ DetectAreasMode = DetectAreasMode.PHOTO }; // DOCUMENT / COMBINE / NONE
            RecognitionResult result = api.RecognizeImage(imgPath, set);

            // Print result