'Gets the markers on the OCR image'

def __getMarkers(self, image):

    centers = {}
    present = 0
    regions = self.__findRegions(image)
    for r in regions:
        if ((r.area > 320) and (r.aspectratio() < 1.5) and (r.aspectratio() > 0.67)):
            present += 1
            centers[present] = r.centroid()
    markers = list(centers.itervalues())
    markers.sort()
    l1 = sorted(markers[0:3], key=(lambda y: y[1]))
    l2 = markers[3:4]
    l3 = sorted(markers[4:7], key=(lambda y: y[1]))
    markers = []
    markers.extend(l1)
    markers.extend(l2)
    markers.extend(l3)
    return markers
