def get_redirection(task):
    if (task.type == Task.CLASSIFICATION):
        return 'classification:label_image'
    elif (task.type == Task.BOUNDING_BOX):
        return 'boundingbox:process_image'
    elif (task.type == Task.LANDMARK):
        return 'landmark:process_image'
    elif (task.type == Task.CARDIAC_SEGMENTATION):
        return 'cardiac:segment_image'
    elif (task.type == Task.SPLINE_SEGMENTATION):
        return 'spline_segmentation:segment_image'
def get_redirection(task):
    if (task.type == Task.CLASSIFICATION):
        return 'classification:label_image'
    elif (task.type == Task.BOUNDING_BOX):
        return 'boundingbox:process_image'
    elif (task.type == Task.LANDMARK):
        return 'landmark:process_image'
    elif (task.type == Task.CARDIAC_SEGMENTATION):
        return 'cardiac:segment_image'
    elif (task.type == Task.SPLINE_SEGMENTATION):
        return 'spline_segmentation:segment_image'