def mpii_to_openpose(mpii):
    """
    Converts keypoints in MPII order to OpenPose order.

    Parameters
    ----------
    mpii : numpy.ndarray
        Keypoints in MPII order.

    Returns
    -------
    kpss : numpy.ndarray
        Keypoints in OpenPose order.
    """
    order = [9,8,13,14,15,12,11,10,6,3,4,5,2,1,0];
    return mpii[:,order,:];