Browse our Products

Aspose.OCR for .NET 21.6 - Release Notes

All Features

OCRNET-359Import new models (DSR, Chinese OCR)Enhancement
OCRNET-360Add method CalcSkewImage(uri)Enhancement
OCRNET-41Support for Chinese Language - Aspose.OCR for .NETEnhancement
OCRNET-39Support for Chinese LanguageEnhancement


  • new ML model with improved regions recognition
  • added Chinese language support
  • added new Api method CalculateSkewFromUri(uri)

Public API and Backwards Incompatible Changes


  • added method: double CalcSkewImageFromUri(String uri)

Removed APIs

Will be deprecated

Usage Example for Chinese text recognition and image angle calculation

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://chinese.png";

            // Recognize chinese text           
            RecognitionResult result = api.RecognizeImage(image, new RecognitionSettings{ Language = Language.Chi });

            // Save result		
            result.Save("D://test.txt", SaveFormat.Text);

			// Get the angle of the image from the URI
			float skew = api.CalculateSkewFromUri("");
			Console.WriteLine($"Angle: {skew}");