CameraInformation Class Reference

Structure containing information of a single camera (serial number, model, calibration, etc.)That information about the camera will be returned by Camera.get_camera_information() More...

Functions

CameraInformation __cinit__ (self, Camera py_camera, resizer=Resolution(0, 0))
 Default constructor. More...
 
SensorsConfiguration sensors_configuration (self)
 Sensors configuration parameters stored in a sl.SensorsConfiguration.
 
CameraConfiguration camera_configuration (self)
 Camera configuration parameters stored in a sl.CameraConfiguration.
 
INPUT_TYPE input_type (self)
 Input type used in the ZED SDK.
 
MODEL camera_model (self)
 Model of the camera (see sl.MODEL).
 
int serial_number (self)
 Serial number of the camera.
 

Detailed Description

Structure containing information of a single camera (serial number, model, calibration, etc.)

That information about the camera will be returned by Camera.get_camera_information()

Note
This object is meant to be used as a read-only container, editing any of its fields won't impact the SDK.
Warning
CalibrationParameters are returned in COORDINATE_SYSTEM.IMAGE , they are not impacted by the InitParameters.coordinate_system

Functions

◆ __cinit__()

CameraInformation __cinit__ (   self,
Camera  py_camera,
  resizer = Resolution(0,0) 
)

Default constructor.

Gets the sl.CameraParameters from a sl.Camera object.

Parameters
py_camera: sl.Camera object.
resizer: You can specify a sl.Resolution different from default image size to get the scaled camera information. Default: (0, 0) (original image size)
cam = sl.Camera()
res = sl.Resolution(0,0)
cam_info = sl.CameraInformation(cam, res)