DeviceProperties Class Reference

Class containing information about the properties of a camera. More...

Functions

CAMERA_STATE camera_state (self)
 State of the camera. More...
 
int id (self)
 Id of the camera. More...
 
str path (self)
 System path of the camera.
 
MODEL camera_model (self)
 Model of the camera.
 
int serial_number (self)
 Serial number of the camera. More...
 
INPUT_TYPE input_type (self)
 Input type of the camera.
 

Detailed Description

Class containing information about the properties of a camera.

Note
A camera_model sl.MODEL.ZED_M with an id '-1' can be due to an inverted USB-C cable.

Functions

◆ camera_state()

CAMERA_STATE camera_state (   self)

State of the camera.

Default: sl.CAMERA_STATE.NOT_AVAILABLE

◆ id()

int id (   self)

Id of the camera.

Default: -1

◆ serial_number()

int serial_number (   self)

Serial number of the camera.

Default: 0

Warning
Not provided for Windows.

Referenced by CameraInformation.__cinit__(), and CameraInformation.serial_number().