pysdic.PerspectiveExtrinsic.translation_vector#
- property PerspectiveExtrinsic.translation_vector: ndarray | None#
[Get/Set] the translation vector \(T\) of the camera.
The translation vector is a numpy array of shape (3,). It corresponds to the last three parameters of the extrinsic transformation.
Note
An alias for
translation_vectoristvecto match OpenCV conventions.Note
The translation vector can only be set if all the parameters are already set.
See also
rotation_vector()orrvecto get the rotation vector of the camera.
- Parameters:
tvec (ArrayLike) – The translation vector of the camera with shape (3,).
- Returns:
The translation vector of the camera with shape (3,). (or None if the parameters are not set)
- Return type:
Optional[numpy.ndarray]