Namespaces | Variables
opencv_viewer_example.py File Reference

Go to the source code of this file.

Namespaces

 opencv_viewer_example
 

Variables

 opencv_viewer_example.color_colormap_dim = color_image.shape
 
 opencv_viewer_example.color_frame = frames.get_color_frame()
 
 opencv_viewer_example.color_image = np.asanyarray(color_frame.get_data())
 
 opencv_viewer_example.config = rs.config()
 
 opencv_viewer_example.depth_colormap = cv2.applyColorMap(cv2.convertScaleAbs(depth_image, alpha=0.03), cv2.COLORMAP_JET)
 
 opencv_viewer_example.depth_colormap_dim = depth_colormap.shape
 
 opencv_viewer_example.depth_frame = frames.get_depth_frame()
 
 opencv_viewer_example.depth_image = np.asanyarray(depth_frame.get_data())
 
 opencv_viewer_example.device = pipeline_profile.get_device()
 
 opencv_viewer_example.device_product_line = str(device.get_info(rs.camera_info.product_line))
 
 opencv_viewer_example.frames = pipeline.wait_for_frames()
 
 opencv_viewer_example.images = np.hstack((resized_color_image, depth_colormap))
 
 opencv_viewer_example.pipeline = rs.pipeline()
 
 opencv_viewer_example.pipeline_profile = config.resolve(pipeline_wrapper)
 
 opencv_viewer_example.pipeline_wrapper = rs.pipeline_wrapper(pipeline)
 
 opencv_viewer_example.resized_color_image = cv2.resize(color_image, dsize=(depth_colormap_dim[1], depth_colormap_dim[0]), interpolation=cv2.INTER_AREA)
 


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