.NET APIs to perform OCR on images
Add image based Optical Character Recognition feature to your .NET applications.Download Free Trial
Aspose.OCR for .NET
Aspose.OCR for .NET is an optical character recognition API that allows developers to add OCR functionalities to their ASP.NET web applications, web services and Windows applications without requiring any additional tool or API.
The .NET OCR API is extensible, easy to use, compact, and it provides a simple set of classes for controlling character recognition. It is aimed at developers who need to find text from image files from within their own applications.
At A Glance
An overview of the capabilities of Aspose.OCR for .NET.
- Times New Roman
- Courier New
Aspose.OCR for .NET supports the .NET framework.
- ASP.NET Application
- Windows Application
- Web Services
Supported File Formats
Aspose.OCR for .NET supports most commonly used image formats.
Advanced 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
Simplest APIs to Perform OCR on 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 engine.Process(); // get results Console.WriteLine(engine.Text);
Scan Whole Image or Portion
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 the similar structure.
Recognize Text in Popular Fonts & Styles
Aspose.OCR for .NET supports Arial, Times New Roman, Courier New, Verdana, Tahoma and Calibri fonts in regular, bold and italic text styles.
Support for Global Languages
Aspose.OCR for .NET supports multiple languages such as English, French, Spanish and Portuguese. More languages are to be supported with future releases of Aspose.OCR for .NET.
Easy to Use Noise Removal Filters
Aspose.OCR for .NET 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