pyrealsense2.auto_calibrated_device

class pyrealsense2.auto_calibrated_device
__init__(self: pyrealsense2.auto_calibrated_device, device: pyrealsense2.device) None

Methods

__init__(self, device)

as_auto_calibrated_device(self)

as_calibration_change_device(self)

as_debug_protocol(self)

as_device_calibration(self)

as_firmware_logger(self)

as_playback(self)

as_recorder(self)

as_updatable(self)

as_update_device(self)

calculate_target_z(*args, **kwargs)

Overloaded function.

calibration_config_to_json_string(self, ...)

Convert calibration config to JSON string

first_color_sensor(self)

first_depth_sensor(self)

first_fisheye_sensor(self)

first_motion_sensor(self)

first_pose_sensor(self)

first_roi_sensor(self)

get_calibration_config(self)

Get Calibration Config Table

get_calibration_table(self)

Read current calibration table from flash.

get_info(self, info)

Retrieve camera specific information, like versions of various internal components

hardware_reset(self)

Send hardware reset request to the device

is_auto_calibrated_device(self)

is_calibration_change_device(self)

is_connected(self)

is_debug_protocol(self)

is_device_calibration(self)

is_firmware_logger(self)

is_metadata_enabled(self)

is_playback(self)

is_recorder(self)

is_updatable(self)

is_update_device(self)

json_string_to_calibration_config(self, json_str)

Convert JSON string to calibration config

process_calibration_frame(*args, **kwargs)

Overloaded function.

query_sensors(self)

Returns the list of adjacent devices, sharing the same physical parent composite device.

reset_to_factory_calibration(self)

Reset device to factory calibration.

run_focal_length_calibration(*args, **kwargs)

Overloaded function.

run_on_chip_calibration(*args, **kwargs)

Overloaded function.

run_tare_calibration(*args, **kwargs)

Overloaded function.

run_uv_map_calibration(*args, **kwargs)

Overloaded function.

set_calibration_config(self, calibration_config)

Set Calibration Config Table

set_calibration_table(self, arg0)

Set current table to dynamic area.

supports(self, info)

Check if specific camera info is supported.

write_calibration(self)

Write calibration that was set by set_calibration_table to device's EEPROM.

Attributes

sensors

List of adjacent devices, sharing the same physical parent composite device.

calculate_target_z(*args, **kwargs)

Overloaded function.

  1. calculate_target_z(self: pyrealsense2.auto_calibrated_device, queue1: pyrealsense2.frame_queue, queue2: pyrealsense2.frame_queue, queue3: pyrealsense2.frame_queue, target_width_mm: float, target_height_mm: float) -> float

Calculate Z for calibration target - distance to the target’s plane.

  1. calculate_target_z(self: pyrealsense2.auto_calibrated_device, queue1: pyrealsense2.frame_queue, queue2: pyrealsense2.frame_queue, queue3: pyrealsense2.frame_queue, target_width_mm: float, target_height_mm: float, callback: Callable[[float], None]) -> float

Calculate Z for calibration target - distance to the target’s plane. This call is executed on the caller’s thread and provides progress notifications via the callback.

calibration_config_to_json_string(self: pyrealsense2.auto_calibrated_device, calibration_config: pyrealsense2.calibration_config) str

Convert calibration config to JSON string

get_calibration_config(self: pyrealsense2.auto_calibrated_device) pyrealsense2.calibration_config

Get Calibration Config Table

get_calibration_table(self: pyrealsense2.auto_calibrated_device) List[int]

Read current calibration table from flash.

json_string_to_calibration_config(self: pyrealsense2.auto_calibrated_device, json_str: str) pyrealsense2.calibration_config

Convert JSON string to calibration config

process_calibration_frame(*args, **kwargs)

Overloaded function.

  1. process_calibration_frame(self: pyrealsense2.auto_calibrated_device, frame: pyrealsense2.frame, timeout_ms: int) -> Tuple[List[int], Tuple[float, float]]

This will add a frame to the calibration process initiated by run_tare_calibration or run_on_chip_calibration as host assistant process. This call is executed on the caller’s thread and it supports progress notifications via the callback.

  1. process_calibration_frame(self: pyrealsense2.auto_calibrated_device, frame: pyrealsense2.frame, callback: Callable[[float], None], timeout_ms: int) -> Tuple[List[int], Tuple[float, float]]

This will add a frame to the calibration process initiated by run_tare_calibration or run_on_chip_calibration as host assistant process. This call is executed on the caller’s thread and it supports progress notifications via the callback.

reset_to_factory_calibration(self: pyrealsense2.auto_calibrated_device) None

Reset device to factory calibration.

run_focal_length_calibration(*args, **kwargs)

Overloaded function.

  1. run_focal_length_calibration(self: pyrealsense2.auto_calibrated_device, left_queue: pyrealsense2.frame_queue, right_queue: pyrealsense2.frame_queue, target_width_mm: float, target_heigth_mm: float, adjust_both_sides: int) -> Tuple[List[int], float, float]

Run target-based focal length calibration. This call is executed on the caller’s thread.

  1. run_focal_length_calibration(self: pyrealsense2.auto_calibrated_device, left_queue: pyrealsense2.frame_queue, right_queue: pyrealsense2.frame_queue, target_width_mm: float, target_heigth_mm: float, adjust_both_sides: int, callback: Callable[[float], None]) -> Tuple[List[int], float, float]

Run target-based focal length calibration. This call is executed on the caller’s thread and provides progress notifications via the callback.

run_on_chip_calibration(*args, **kwargs)

Overloaded function.

  1. run_on_chip_calibration(self: pyrealsense2.auto_calibrated_device, json_content: str, timeout_ms: int) -> Tuple[List[int], Tuple[float, float]]

This will improve the depth noise (plane fit RMS). This call is executed on the caller’s thread.

  1. run_on_chip_calibration(self: pyrealsense2.auto_calibrated_device, json_content: str, callback: Callable[[float], None], timeout_ms: int) -> Tuple[List[int], Tuple[float, float]]

This will improve the depth noise (plane fit RMS). This call is executed on the caller’s thread and provides progress notifications via the callback.

run_tare_calibration(*args, **kwargs)

Overloaded function.

  1. run_tare_calibration(self: pyrealsense2.auto_calibrated_device, ground_truth_mm: float, json_content: str, timeout_ms: int) -> Tuple[List[int], Tuple[float, float]]

This will adjust camera absolute distance to flat target. This call is executed on the caller’s thread.

  1. run_tare_calibration(self: pyrealsense2.auto_calibrated_device, ground_truth_mm: float, json_content: str, callback: Callable[[float], None], timeout_ms: int) -> Tuple[List[int], Tuple[float, float]]

This will adjust camera absolute distance to flat target. This call is executed on the caller’s thread and it supports progress notifications via the callback.

run_uv_map_calibration(*args, **kwargs)

Overloaded function.

  1. run_uv_map_calibration(self: pyrealsense2.auto_calibrated_device, left: pyrealsense2.frame_queue, color: pyrealsense2.frame_queue, depth: pyrealsense2.frame_queue, py_px_only: int) -> Tuple[List[int], float]

Run target-based Depth-RGB UV-map calibraion. This call is executed on the caller’s thread.

  1. run_uv_map_calibration(self: pyrealsense2.auto_calibrated_device, left: pyrealsense2.frame_queue, color: pyrealsense2.frame_queue, depth: pyrealsense2.frame_queue, py_px_only: int, callback: Callable[[float], None]) -> Tuple[List[int], float]

Run target-based Depth-RGB UV-map calibraion. This call is executed on the caller’s thread and provides progress notifications via the callback.

set_calibration_config(self: pyrealsense2.auto_calibrated_device, calibration_config: pyrealsense2.calibration_config) None

Set Calibration Config Table

set_calibration_table(self: pyrealsense2.auto_calibrated_device, arg0: List[int]) None

Set current table to dynamic area.

write_calibration(self: pyrealsense2.auto_calibrated_device) None

Write calibration that was set by set_calibration_table to device’s EEPROM.