DeviceProperties Struct Reference

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

Attributes

sl::CAMERA_STATE camera_state = sl::CAMERA_STATE::NOT_AVAILABLE
 State of the camera. More...
 
int id = -1
 Id of the camera. More...
 
sl::String path
 System path of the camera. More...
 
sl::MODEL camera_model = sl::MODEL::LAST
 Model of the camera. More...
 
unsigned int serial_number = 0
 Serial number of the camera. More...
 
INPUT_TYPE input_type
 Input type of the camera. More...
 

Detailed Description

Structure 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.

Variables

◆ camera_state

◆ id

int id = -1

Id of the camera.

Default: -1

◆ path

sl::String path

System path of the camera.

◆ camera_model

sl::MODEL camera_model = sl::MODEL::LAST

Model of the camera.

◆ serial_number

unsigned int serial_number = 0

Serial number of the camera.

Default: 0

Warning
Not provided for Windows.

◆ input_type

INPUT_TYPE input_type

Input type of the camera.