Get text areas on the page

Get text areas on the page

Along with performing OCR operation on images, Aspose.OCR for Java also provides the rectangles with text areas detected during the OCR operation in pixels. To retrieve the detected areas, use the getTextAreas method after calling the RecognizePage method. The following code snippet demonstrates the use of the getTextAreas method.