Browse our Products

Aspose.OCR for .NET 21.1 - Release Notes

All Features

OCRNET-314Optimize memory usageEnhancement
OCRNET-315Increase recognition qualityEnhancement
OCRNET-316Implement Markdown and Searchable PDF results formats for downloadEnhancement


  • added ability to save the recognition result in the Markdown and Searchable PDF Document format
  • added custom image quality correction with parameter ThresholdValue
  • improved performance and reduced memory costs

Public API and Backwards Incompatible Changes


  • added property TresholdValue to the RecognitionSettings class

Removed APIs

All methods of the previous release are supported.

Will be deprecated

string RecognizeImage(MemoryStream stream, Rectangle rect);

string RecognizeImage(string fullPath, Rectangle rect);

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           
            RecognitionResult result = api.RecognizeImage(image, new RecognitionSettings
                                 ThresholdValue = 160

            // Save result

            result.Save("D://test.pdf", SaveFormat.Pdf);
            result.Save("D://", SaveFormat.Md);