CentralCamera.center#

property CentralCamera.center: ndarray#

Position of camera frame

Returns:

Euclidean coordinate of the camera frame’s origin

Return type:

ndarray(3)

Example:

>>> from machinevisiontoolbox import CentralCamera
>>> from spatialmath import SE3
>>> camera1 = CentralCamera.Default(name='camera1', pose=SE3.Trans(1,2,3))
>>> camera1
           Name: camera1 [CentralCamera]
     pixel size: 1e-05 x 1e-05
     image size: 1000 x 1000
           pose: t = 1, 2, 3; rpy/yxz = 0°, 0°, 0°
   principal pt: [500. 500.]
   focal length: [0.008 0.008]
>>> camera1.center
array([1., 2., 3.])