1. A method for identifying a page layout of an image that includes textual regions, comprising: receiving an input image that includes words around which bounding boxes have been formed; grouping the words into a plurality of text regions; grouping words within each of the text regions into reading lines; and sorting the text regions in accordance with their reading order.