Page Segmentation using a Pyramidal Architecture