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 AsposeOCR
class or use setRecognizeSingleLine(true)
method of 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.
Performance impact
This method is about 7 times faster than normal OCR and is highly recommended for batch processing large numbers of very simple images.
Drawbacks
This recognition method only supports images in the following formats:
- GIF,
- 24-bit PNG,
- JPEG,
- BMP,
- WBMP.
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.