DeviceProperties Struct Reference

Properties of a camera. More...

Attributes

sl::CAMERA_STATE camera_state = sl::CAMERA_STATE_NOT_AVAILABLE
 
int id = -1
 
sl::String path
 
sl::MODEL camera_model = sl::MODEL_LAST
 
unsigned int serial_number = 0
 

Detailed Description

Properties of a camera.

Note
A camera_model MODEL_ZED_M with an id '-1' can be due to an inverted USB-C cable.
Warning
Experimental on Windows.

Variables

the camera state

int id = -1

the camera id (Notice that only the camera with id '0' can be used on Windows)

sl::String path

the camera system path

sl::MODEL camera_model = sl::MODEL_LAST

the camera model

unsigned int serial_number = 0

the camera serial number
Not provided for Windows