Finding word bounding boxes

Contents
[ ]

Aspose.OCR allows you to automatically find the coordinates of image rectangles containing individual words in text. This can be useful for highlighting detected words when previewing an image.

To get bounding boxes of all words of the image, use getTextAreas method of AsposeOCR class. Specify AreasType.WORDS as the areaType parameter of the method. isDetectAreas parameter of the method is ignored.

Coordinates of each word (top-left corner, width and height) are returned as a list of Rectangle objects.