Aspose.OCR for .NET 22.2 - Release Notes

All Features

Key Summary Category
OCRNET-385 Craft text detector integration Enhancement
OCRNET-474 Create the combine mode for DSR/CRAFT areas recognition Enhancement
OCRNET-471 Test opimized models Enhancement
OCRNET-470 Fix image extraction from PDF Bug


  • 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