get_xyz_2d

lib.align.pose.get_xyz_2d(rotation: npt.NDArray[np.float32], translation: npt.NDArray[np.float32], camera_matrix: npt.NDArray[np.float32]) npt.NDArray[np.float32]

projected (x, y) coordinates for each x, y, z point at a constant distance from the adjusted center of the skull (0.5, 0.5) in 2D space.

Parameters:
  • rotation (npt.NDArray[np.float32])

  • translation (npt.NDArray[np.float32])

  • camera_matrix (npt.NDArray[np.float32])

Return type:

npt.NDArray[np.float32]