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.
An overview of the capabilities of API.
Aspose.OCR for .NET supports the .NET framework.
Aspose.OCR for .NET supports most commonly used image file formats.
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
In just 4 lines of code, add OCR functionality to your .NET applications to capture text from images. It is really that simple!
// 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);
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.
.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.
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.
The library supports noise removal filters. You can apply noise removal filters before image recognition to improve the overall accuracy rate.
// 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