pycvcam.Cv2Extrinsic.rotation_vector#
- property Cv2Extrinsic.rotation_vector: ndarray | None#
[Get/Set] the rotation vector
rvecof the extrinsic transformation.The rotation vector is a numpy array of shape (3,) representing the rotation of the camera in the world coordinate system.
Note
An alias for
rotation_vectorisrvec.See also
pycvcam.Cv2Extrinsic.translation_vector()ortvecto set the translation vector of the extrinsic transformation.
- Parameters:
rvec (Optional[ArrayLike]) – The rotation vector of the camera in the world coordinate system. It should be a 1D array of shape (3,). If set to None, the rotation vector will be set to None.
- Returns:
The rotation vector of the camera in the world coordinate system. (or None if not set)
- Return type:
Optional[numpy.ndarray]