Aspose.OCR  for .NET

Perform Image OCR with .NET Library

Add image based Optical Character Recognition feature within any .NET-based application.

  Download Free Trial

Aspose.OCR for .NET is a robust optical character recognition API. Developers can easily add OCR functionalities in their applications. API is extensible, easy to use, compact and provides a simple set of classes for controlling character recognition. It supports commonly used image formats and provides functionalities like reading multiple characters and fonts from images, bold and italic styles, noise removal filters, scanning of the whole image or any part of the image and much more. Moreover, API has the ability to perform OCR using the GPU instead of the core processor.

Advanced .NET OCR API Features

Read text or characters from images

Support for commonly used image file formats

Support for global languages

Read text or characters in popular fonts

Support for font styles

Scan the whole image or any part of it

Scan rotated images

Apply noise removal filters

Specify multiple white lists

Perform OCR on Images

Aspose.OCR for .NET allows the developers to extract text and related information such as font, style & location of the text from specific parts of an image. This feature allows performing the OCR operation quickly on document scans that follow a similar structure. OCR library performs the operation on the image having multiple lines or a single line. Here is code the code for single recognition.

Single line OCR Recognition - C#

// The path to the documents directory.

string path = "dirPath/";

// Initialize an instance of AsposeOcr

AsposeOcr libVar = new AsposeOcr();

// Recognize image

string slResult = libVar.RecognizeLine(path + "sample_line.png");

// Print single line recognized text


Muti-Fonts & Styles Support

.NET OCR API supports to recognize Text in popular fonts & styles like Arial, Times New Roman, Courier New, Verdana, Tahoma and Calibri fonts in regular, bold and italic text styles.

Multi-Language Support

Aspose.OCR for .NET supports different languages such as English, French, Spanish and Portuguese. More languages are to be supported with future releases of API. Performing OCR operation is same for all languages like following few lines perform OCR operation on an image having Spanish text

OCR Language Auto-Detection Support - C#

// documents directory path

string dirPath = "directorypath/";

// Initialize an instance

AsposeOcr ocrLanguage = new AsposeOcr();

// Recognize image

string spanishText = ocrLanguage.RecognizeImage(dirPath + "SpanishOCR.bmp");

// Print the recognized text


Support and Learning Resources


Aspose.OCR offers individual OCR APIs for other popular development environments as listed below: