Recognize single line
Contents[ Hide ]
If an image contains a single line of text, it can be recognized in the fastest possible mode, without automated corrections, areas detection, and other resource-consuming steps.
To extract text from such images, use
RecognizeLine method of of
Aspose.OCR.AsposeOcr class or enable
RecognizeSingleLine property in recognition settings.
Please note that this method only works for images containing a single line of text! Using it on multi-line images will lead to incorrect recognition results.
This method is about 7 times faster than normal OCR and is highly recommended for batch processing large numbers of very simple images.
This recognition method only supports images in the following formats:
- 24-bit PNG,
- single-page TIFF.
It also does not work with skewed images and does not support recognition settings. However, you can preprocess an image before sending it to the OCR engine.