Back to Librealsense

Sample Code for RealSense™ **Depth** cameras

examples/depth.md

2.57.75.2 KB
Original Source

Sample Code for RealSense™ Depth cameras

This is a subset of SDK examples, for full list see readme.md

List of Examples:

NameLanguageDescriptionExperience LevelTechnology
Hello-RealSenseC++Demonstrates the basics of connecting to a RealSense device and using depth data:star:
DistanceCEquivalent to hello-realsense but rewritten for C users:star:
ColorCDemonstrate how to stream color data and prints some frame information:star:
CaptureC++Shows how to synchronize and render multiple streams: left, right, depth and RGB streams:star:
Save To DiskC++Demonstrate how to render and save video streams on headless systems without graphical user interface (GUI):star:
PointcloudC++Showcase Projection API while generating and rendering 3D pointcloud:star:
ImShowC++ & OpenCVMinimal OpenCV application for visualizing depth data:star:
MulticamC++Present multiple cameras depth streams simultaneously, in separate windows:star:
On Chip CalibrationC++Demonstrates the basic flow of activating a RealSense device internal calibration:star:
DepthCDemonstrates how to stream depth data and prints a simple text-based representation of the depth image:star::star:
Spatial AlignmentC++Introduces the concept of spatial stream alignment, using depth-color mapping:star::star:
Advanced AlignmentC++Show a simple method for dynamic background removal from video:star::star:
MeasureC++Lets the user measure the dimensions of 3D objects in a stream:star::star:
Post ProcessingC++Demonstrating usage of post processing filters for depth images:star::star:
Record & PlaybackC++Demonstrating usage of the recorder and playback devices:star::star:
MotionC++Demonstrates how to use data from gyroscope and accelerometer to compute the rotation of the camera:star::star:
DNNC++ & OpenCVRealSense camera used for real-time object-detection:star::star:
Software DeviceC++Shows how to create a custom rs2::device:star::star::star:
Sensor ControlC++A tutorial for using the rs2::sensor API:star::star::star:
GrabCutsC++ & OpenCVSimple background removal using the GrabCut algorithm:star::star::star:
LatencyC++ & OpenCVBasic latency estimation using computer vision:star::star::star: