def load_RIRE_ground_truth(file_name):
    """
    Load the point sets defining the ground truth transformations for the RIRE
    training dataset.

    Args:
        file_name (str): RIRE ground truth file name. File format is specific to
                         the RIRE training data, with the actual data expectd to
                         be in lines 15-23.
    Returns:
    Two lists of tuples representing the points in the "left" and "right"
    coordinate systems.
    """
    with open(file_name, "r") as fp:
        lines = fp.readlines()
        l = []
        r = []
        # Fiducial information is in lines 15-22, starting with the second entry.
        for line in lines[15:23]:
            coordinates = line.split()
            l.append(
                (float(coordinates[1]), float(coordinates[2]), float(coordinates[3]))
            )
            r.append(
                (float(coordinates[4]), float(coordinates[5]), float(coordinates[6]))
            )
    return (l, r)