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.
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)process_calibration_frame(*args, **kwargs)Overloaded function.
query_sensors(self)Returns the list of adjacent devices, sharing the same physical parent composite device.
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, ...)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
sensorsList of adjacent devices, sharing the same physical parent composite device.
- calculate_target_z(*args, **kwargs)¶
 Overloaded function.
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.
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.
- get_calibration_config(self: pyrealsense2.auto_calibrated_device) str¶
 Get Calibration Config Table
- get_calibration_table(self: pyrealsense2.auto_calibrated_device) list[int]¶
 Read current calibration table from flash.
- process_calibration_frame(*args, **kwargs)¶
 Overloaded function.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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_json_str: str) 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.