Performing OCR on an Image

Performing OCR on an Image

Aspose.OCR for .NET provides the AsposeOcr class to perform OCR operation on images. The AsposeOcr class provides these two methods.

  • RecognizeImage: Perform OCR operation on the image containing multiple lines.
  • RecognizeLine: Perform OCR operation on the image containing a single line.

Performing OCR on an image of a page

The following code snippet demonstrates the use of the RecognizeImage method to perform OCR operation on the image of a page.

Performing OCR on an image of a line

The following code snippet demonstrates the use of the RecognizeLine method to perform OCR operation on the image containing a single line.