def element_coordinates(self, element):
    out = (0,0,0,0)
    if 'title' in element.attrib:
      matches = self.boxPattern.search(element.attrib['title'])
      if matches:
        coords = matches.group(1).split()
        out = (int(coords[0]),int(coords[1]),int(coords[2]),int(coords[3]))
    return out
Returns a tuple containing the coordinates of the bounding box around
dataset/ETHPy150Open jbrinley/HocrConverter/HocrConverter.py/HocrConverter.element_coordinates