Skip to content

Latest commit

 

History

History
 
 

examples

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Sample Code for Intel® RealSense™ Python Wrapper

These Examples demonstrate how to use the python wrapper of the SDK.

List of Examples:

  1. Tutorial 1 - Demonstrates how to start streaming depth frames from the camera and display the image in the console as an ASCII art.
  2. NumPy and OpenCV - Example of rendering depth and color images using the help of OpenCV and Numpy
  3. Stream Alignment - Demonstrate a way of performing background removal by aligning depth images to color images and performing simple calculation to strip the background.
  4. RS400 Advanced Mode - Example of the advanced mode interface for controlling different options of the D400 cameras
  5. Realsense Backend - Example of controlling devices using the backend interface
  6. Read bag file - Example on how to read bag file and use colorizer to show recorded depth stream in jet colormap.
  7. Box Dimensioner Multicam - Simple demonstration for calculating the length, width and height of an object using multiple cameras.
  8. T265 Basic - Demonstrates how to retrieve pose data from a T265
  9. T265 Coordinates - This example shows how to change coordinate systems of a T265 pose
  10. T265 Stereo - This example shows how to use T265 intrinsics and extrinsics in OpenCV to asynchronously compute depth maps from T265 fisheye images on the host.
  11. Realsense over Ethernet - This example shows how to stream depth data from RealSense depth cameras over ethernet.

Pointcloud Visualization

  1. OpenCV software renderer
  2. PyGlet pointcloud renderer - requires pip install pyglet

Interactive Examples:

  1. Distance to Object Binder
  2. Depth Filters Binder