pyrealsense2.options

class pyrealsense2.options

Base class for options interface. Should be used via sensor or processing_block.

__init__(*args, **kwargs)

Methods

__init__(*args, **kwargs)

get_option(self, option)

Read option value from the device.

get_option_description(self, option)

Get option description.

get_option_range(self, option)

Retrieve the available range of values of a supported option

get_option_value(self, arg0)

get_option_value_description(self, option, value)

Get option value description (In case a specific option value holds special meaning)

get_supported_options(self)

Retrieve list of supported options

is_option_read_only(self, option)

Check if particular option is read only.

on_options_changed(self, callback)

Sets a callback to notify in case options in this container change value

set_option(self, option, value)

Write new value to device option

set_option_value(self, arg0, arg1)

supports(self, option)

Check if particular option is supported by a subdevice

get_option(self: pyrealsense2.options, option: pyrealsense2.option) float

Read option value from the device.

get_option_description(self: pyrealsense2.options, option: pyrealsense2.option) str

Get option description.

get_option_range(self: pyrealsense2.options, option: pyrealsense2.option) pyrealsense2.option_range

Retrieve the available range of values of a supported option

get_option_value(self: pyrealsense2.options, arg0: pyrealsense2.option) pyrealsense2.option_value
get_option_value_description(self: pyrealsense2.options, option: pyrealsense2.option, value: float) str

Get option value description (In case a specific option value holds special meaning)

get_supported_options(self: pyrealsense2.options) List[pyrealsense2.option]

Retrieve list of supported options

is_option_read_only(self: pyrealsense2.options, option: pyrealsense2.option) bool

Check if particular option is read only.

on_options_changed(self: pyrealsense2.options, callback: Callable[[pyrealsense2.options_list], None]) None

Sets a callback to notify in case options in this container change value

set_option(self: pyrealsense2.options, option: pyrealsense2.option, value: float) None

Write new value to device option

set_option_value(self: pyrealsense2.options, arg0: pyrealsense2.option, arg1: json) None
supports(self: pyrealsense2.options, option: pyrealsense2.option) bool

Check if particular option is supported by a subdevice