

def farthest_coord(self, coords):
    farthest_distance = 0
    farthest_coord = []
    for coord in coords:
        if (farthest_distance == 0):
            farthest_distance = self.distance_from_origin(coord[0])
            farthest_coord = coord[0]
        else:
            cur_distance = self.distance_from_origin(coord[0])
            if (cur_distance >= farthest_distance):
                farthest_distance = cur_distance
                farthest_coord = coord[0]
    return (farthest_coord[0], farthest_coord[1])

dataset/ETHPy150Open phrack/ShootOFF-legacy/projector_calibrator.py ProjectorCalibrator.farthest_coord/original