Extracting text from an image
Contents
[
Hide
]
To extract text from a raster image, use RecognizePage
method of AsposeOCR
class. This method supports JPEG, PNG, BMP, GIF, and WBMP 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.