Extracting text from an image

[ ]

To extract text from a raster image, use RecognizeImage method of Aspose.OCR.AsposeOcr class. This method supports JPEG, PNG, BMP, GIF, and single-page TIFF images.

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

Depending on the parameters, the method can either return a string with line breaks, or a RecognitionResult object that allows you to perform advanced manipulations with recognition results: automatically correct spelling, get image regions and save results in various formats.