Finding text in an image

Contents
[ ]

Aspose.OCR for .NET makes searching for text in images as easy as finding the text fragment in a string. In a single line of code, you can search for a case-sensitive or case-insensitive string, and even validate an image text against a pattern.

To search for a text in an image, use ImageHasText method of AsposeOcr class. The method either takes a text fragment or a regular expression and returns true if the text is found or false if not.

ImageHasText method allows you to optionally customize recognition accuracy, performance, and other settings.