Closed X-niper closed 2 years ago
def flip_yaw(pose_matrix): flipped = pose_matrix.copy() flipped[0, 1] = -1 flipped[0, 2] = -1 flipped[1, 0] = -1 flipped[2, 0] = -1 flipped[0, 3] *= -1 return flipped
should flipped[1, 0] change when the image is mirrored?
def flip_yaw(pose_matrix): flipped = pose_matrix.copy() flipped[0, 1] = -1 flipped[0, 2] = -1 flipped[1, 0] = -1 flipped[2, 0] = -1 flipped[0, 3] *= -1 return flipped
should flipped[1, 0] change when the image is mirrored?