DeviceProperties Struct Reference

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

Attributes

sl.CAMERA_STATE cameraState
 State of the camera. More...
 
int id
 Id of the camera. More...
 
string path
 System path of the camera. More...
 
sl.MODEL cameraModel
 Model of the camera. More...
 
uint sn
 Serial number of the camera. More...
 
sl.INPUT_TYPE inputType
 Input type of the camera. More...
 

Detailed Description

Structure containing information about the properties of a camera.

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

Variables

◆ cameraState

sl.CAMERA_STATE cameraState

State of the camera.

Default: Default: sl.CAMERA_STATE.NOT_AVAILABLE

◆ id

int id

Id of the camera.

Default: -1

◆ path

string path

System path of the camera.

◆ cameraModel

sl.MODEL cameraModel

Model of the camera.

◆ sn

uint sn

Serial number of the camera.

Default: 0

Warning
Not provided for Windows.

◆ inputType

sl.INPUT_TYPE inputType

Input type of the camera.