.NET APIs to Perform OCR on Images

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

  Download Free Trial  Try Online
Aspose.OCR for .NET

Aspose.OCR for .NET


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 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.


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

Capture Text from Images

In just 4 lines of code, add OCR functionality to your .NET applications to capture text from images. It is really that simple!

Perform OCR on image - C#

// create an instance of OcrEngine
var engine = new Aspose.OCR.OcrEngine();
// set image file
engine.Image = ImageStream.FromFile(dir + "template.jpg");
// process the image
// get results

Perform OCR on Scans

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.

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 multiple languages such as English, French, Spanish and Portuguese. More languages are to be supported with future releases of API.

Easy to Use Noise Removal Filters

The library supports noise removal filters. You can apply noise removal filters before image recognition to improve the overall accuracy rate.

Apply filters before processing an image - C#

// initialize OcrEngine
var engine = new Aspose.OCR.OcrEngine();
// set image
engine.Image = Aspose.OCR.ImageStream.FromFile(dir + "template.jpg");
// create collection of filters
var filters = new Aspose.OCR.CorrectionFilters();
// add a few filters to the collection
filters.Add(new Aspose.OCR.Filters.RemoveNoiseFilter());
filters.Add(new Aspose.OCR.Filters.GaussBlurFilter());
// assign collection to OcrEngine
engine.Config.CorrectionFilters = filters;
// do processing

Support and Learning Resources


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