def draw_landmarks(im, points, orientation='ij'):
    if orientation == 'ij':
        points = [pt[::-1] for pt in points]   # ij to xy
    elif orientation == 'xy':
        pass
    else: 
        raise RuntimeError("Unkown landmark orientation type: %s" % orientation)
    for pt in points:
        cv2.circle(im, tuple(pt), 1, (0, 255, 0), -1)
    return im
dataset/ETHPy150Open dfdx/masque/masque/utils.py/draw_landmarks/original