> For clean Markdown of any page, append .md to the page URL. > For a complete documentation index, see https://docs.stereolabs.com/docs/tutorials/llms.txt. > For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.stereolabs.com/_mcp/server. # Tutorials The ZED SDK GitHub repository provides a set of useful tutorials to help you get familiar with the [ZED SDK API in the different available code languages](/docs/development/api-languages). > **Tip** > > If you need assistance with building the examples, you can refer to the [API Language section](/docs/development/api-languages) of the documentation for detailed instructions on how to set up your development environment. | TUTORIAL | Description | Link | | ------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | | 1 - [**Hello ZED**](/docs/tutorials/hello-zed) | Opens a ZED camera with basic initialization parameters, reads back its serial number, and closes it. The simplest possible starting point for the ZED SDK API. *(C, C++, Python, C#)* | [GitHub](https://github.com/stereolabs/zed-sdk/tree/master/tutorials/tutorial%201%20-%20hello%20ZED) | | 2 - [**Image Capture**](/docs/tutorials/image-capture) | Grabs images in a loop and retrieves the left image along with its timestamp and resolution, until 50 frames have been captured. *(C, C++, Python, C#)* | [GitHub](https://github.com/stereolabs/zed-sdk/tree/master/tutorials/tutorial%202%20-%20image%20capture) | | 3 - [**Depth Sensing**](/docs/tutorials/depth-sensing) | Enables depth sensing, retrieves the depth map and colored point cloud for 50 frames, and measures the distance to the point at the center of the image. *(C, C++, Python, C#)* | [GitHub](https://github.com/stereolabs/zed-sdk/tree/master/tutorials/tutorial%203%20-%20depth%20sensing) | | 4 - [**Positional Tracking**](/docs/tutorials/positional-tracking) | Enables positional tracking and retrieves the camera's real-time position and orientation (pose) in the world reference frame over 1000 frames, including fused IMU data when available. *(C, C++, Python, C#)* | [GitHub](https://github.com/stereolabs/zed-sdk/tree/master/tutorials/tutorial%204%20-%20positional%20tracking) | | 5 - [**Spatial Mapping**](/docs/tutorials/spatial-mapping) | Enables positional tracking and spatial mapping to reconstruct a 3D mesh of the environment over 500 frames, filters it, and exports it as an OBJ file. *(C, C++, Python, C#)* | [GitHub](https://github.com/stereolabs/zed-sdk/tree/master/tutorials/tutorial%205%20-%20spatial%20mapping) | | 6 - [**Object Detection**](/docs/tutorials/object-detection) | Enables the AI-based Object Detection module to detect, classify and localize objects in 3D space, with a runtime-adjustable confidence threshold. Requires a camera with an integrated IMU. *(C, C++, Python, C#)* | [GitHub](https://github.com/stereolabs/zed-sdk/tree/master/tutorials/tutorial%206%20-%20object%20detection) | | 7 - [**Sensor Data**](/docs/tutorials/sensor-data) | Retrieves IMU, barometer and magnetometer data from the camera's onboard sensors for 800 samples, synchronized or not with image frames. *(C, C++, Python, C#)* | [GitHub](https://github.com/stereolabs/zed-sdk/tree/master/tutorials/tutorial%207%20-%20sensor%20data) | | 8 - [**Body Tracking**](/docs/tutorials/body-tracking) | Enables the Body Tracking module to detect and track 3D human body skeletons, with a confidence threshold tuned for indoor or outdoor use. Requires a camera with an integrated IMU. *(C, C++, Python, C#)* | [GitHub](https://github.com/stereolabs/zed-sdk/tree/master/tutorials/tutorial%208%20-%20body%20tracking) | | 9 - [**Global Localization**](/docs/tutorials/global-localization) | Uses the Fusion API to ingest simulated GNSS coordinates and fuse them with the camera's visual-inertial odometry, computing a global position (latitude, longitude, altitude). *(C++, Python)* | [GitHub](https://github.com/stereolabs/zed-sdk/tree/master/tutorials/tutorial%209%20-%20global%20localization) | | 10 - [**Split Process**](/docs/tutorials/split-process) | Decouples image and depth acquisition with `read()` and `grab()`, so images can be retrieved at full frame rate while depth is only computed every few frames, and reports the resulting FPS. *(C++)* | [GitHub](https://github.com/stereolabs/zed-sdk/tree/master/tutorials/tutorial%2010%20-%20split%20process) | | 11 - [**Health Status**](/docs/tutorials/health-status) | Enables the camera's image validity check and reads the detailed health status (image quality, lighting, depth and motion-sensor reliability) to detect corrupted frames in real time. *(C++)* | [GitHub](https://github.com/stereolabs/zed-sdk/tree/master/tutorials/tutorial%2011%20-%20health%20status) | | 12 - [**Retrieve Tensor**](/docs/tutorials/retrieve-tensor) | Uses `Camera::retrieveTensor()` to get a resized, normalized image tensor (NCHW) straight from the ZED camera, ready to feed into a deep learning inference pipeline. *(C++)* | [GitHub](https://github.com/stereolabs/zed-sdk/tree/master/tutorials/tutorial%2012%20-%20retrieve%20tensor) | ## Docs - [Tutorial - Hello ZED](https://docs.stereolabs.com/docs/tutorials/hello-zed.md) - [Tutorial - Image Capture](https://docs.stereolabs.com/docs/tutorials/image-capture.md) - [Tutorial - Using Depth Perception](https://docs.stereolabs.com/docs/tutorials/depth-sensing.md) - [Tutorial - Using Camera Tracking](https://docs.stereolabs.com/docs/tutorials/positional-tracking.md) - [Tutorial - Using Spatial Mapping](https://docs.stereolabs.com/docs/tutorials/spatial-mapping.md) - [Tutorial - Using 3D Object Detection](https://docs.stereolabs.com/docs/tutorials/object-detection.md) - [Tutorial - Retrieving Sensors Data](https://docs.stereolabs.com/docs/tutorials/sensor-data.md) - [Tutorial - Using Human Body Tracking](https://docs.stereolabs.com/docs/tutorials/body-tracking.md) - [Tutorial - Global Localization](https://docs.stereolabs.com/docs/tutorials/global-localization.md) - [Tutorial - Split Process](https://docs.stereolabs.com/docs/tutorials/split-process.md) - [Tutorial - Health Status](https://docs.stereolabs.com/docs/tutorials/health-status.md) - [Tutorial - Retrieve Tensor](https://docs.stereolabs.com/docs/tutorials/retrieve-tensor.md)