Classes | Functions | Variables
realsense_device_manager Namespace Reference


class  Device
class  DeviceManager


def enumerate_connected_devices (context)
def post_process_depth_frame (depth_frame, decimation_magnitude=1.0, spatial_magnitude=2.0, spatial_smooth_alpha=0.5, spatial_smooth_delta=20, temporal_smooth_alpha=0.4, temporal_smooth_delta=20)


 c = rs.config()
 device_extrinsics = device_manager.get_depth_to_color_extrinsics(frames)
 device_manager = DeviceManager(rs.context(), c)
 frames = device_manager.poll_frames()

Function Documentation

def realsense_device_manager.enumerate_connected_devices (   context)
Enumerate the connected Intel RealSense devices

context            : rs.context()
                 The context created for using the realsense library

connect_device : array
                 Array of enumerated devices which are connected to the PC

Definition at line 27 of file

def realsense_device_manager.post_process_depth_frame (   depth_frame,
  decimation_magnitude = 1.0,
  spatial_magnitude = 2.0,
  spatial_smooth_alpha = 0.5,
  spatial_smooth_delta = 20,
  temporal_smooth_alpha = 0.4,
  temporal_smooth_delta = 20 
Filter the depth frame acquired using the Intel RealSense device

depth_frame          : rs.frame()
                       The depth frame to be post-processed
decimation_magnitude : double
                       The magnitude of the decimation filter
spatial_magnitude    : double
                       The magnitude of the spatial filter
spatial_smooth_alpha : double
                       The alpha value for spatial filter based smoothening
spatial_smooth_delta : double
                       The delta value for spatial filter based smoothening
temporal_smooth_alpha: double
                       The alpha value for temporal filter based smoothening
temporal_smooth_delta: double
                       The delta value for temporal filter based smoothening

filtered_frame : rs.frame()
                 The post-processed depth frame

Definition at line 50 of file

Variable Documentation

realsense_device_manager.c = rs.config()

Definition at line 303 of file

realsense_device_manager.device_extrinsics = device_manager.get_depth_to_color_extrinsics(frames)

Definition at line 313 of file

realsense_device_manager.device_manager = DeviceManager(rs.context(), c)

Definition at line 308 of file

realsense_device_manager.frames = device_manager.poll_frames()

Definition at line 311 of file

Author(s): Sergey Dorodnicov , Doron Hirshberg , Mark Horn , Reagan Lopez , Itay Carpis
autogenerated on Mon May 3 2021 02:50:40