pyrealsense2.processing_block

class pyrealsense2.processing_block

Define the processing block workflow, inherit this class to generate your own processing_block.

__init__(self: pyrealsense2.processing_block, processing_function: Callable[[pyrealsense2.frame, pyrealsense2.frame_source], None]) → None

Methods

__init__(...)
get_info(...) Retrieve camera specific information, like versions of various internal components.
get_option((self: pyrealsense2.options, ...) Read option value from the device.
get_option_description(...) Get option description.
get_option_range(...) Retrieve the available range of values of a supported option
get_option_value_description(...) Get option value description (In case a specific option value holds special meaning)
get_supported_options(...) Retrieve list of supported options
invoke((self: pyrealsense2.processing_block, ...) Ask processing block to process the frame
is_option_read_only(...) Check if particular option is read only.
set_option((self: pyrealsense2.options, ...) Write new value to device option
start((self: pyrealsense2.processing_block, ...) Start the processing block with callback function to inform the application the frame is processed.
supports(...) Check if a specific camera info field is supported.
get_info(self: pyrealsense2.processing_block, arg0: pyrealsense2.camera_info) → str

Retrieve camera specific information, like versions of various internal components.

invoke(self: pyrealsense2.processing_block, f: pyrealsense2.frame) → None

Ask processing block to process the frame

start(self: pyrealsense2.processing_block, callback: Callable[[pyrealsense2.frame], None]) → None

Start the processing block with callback function to inform the application the frame is processed.

supports(self: pyrealsense2.processing_block, arg0: pyrealsense2.camera_info) → bool

Check if a specific camera info field is supported.