Yolov11 Depth Distance logo

Yolov11 Depth Distance

Organization
Seeed-Projects
yolov11-depth-distance

Deploy YOLOv11 with an Orbbec Gemini 2 depth camera on reComputer J4012 (Jetson Orin NX 16GB) for real-time object detection and 3D distance measurement between detected objects. Uses TensorRT for accelerated inference and pyorbbecsdk for depth data. Requires JetPack 5.1.3.

Overview

PublisherSeeed-Projects
RepositorySeeed-Jetson-DevelopTool
Skill nameyolov11-depth-distance
Stars
58
Forks
9
Bundled files
2
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 2 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by Seeed-Projects on GitHub. Read the source before you install it.

Installation

Install the Yolov11 Depth Distance AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/Seeed-Projects/Seeed-Jetson-DevelopTool/tree/main/seeed_jetson_develop/skills/openclaw/yolov11-depth-distance
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Seeed-Projects/Seeed-Jetson-DevelopTool.git /tmp/Seeed-Jetson-DevelopTool
mkdir -p .claude/skills
cp -r /tmp/Seeed-Jetson-DevelopTool/seeed_jetson_develop/skills/openclaw/yolov11-depth-distance .claude/skills/yolov11-depth-distance
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Yolov11 Depth Distance in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Yolov11 Depth Distance on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Yolov11 Depth Distance is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

YOLOv11 + Depth Camera Distance Measurement on Jetson Orin

Combine YOLOv11 object detection with Orbbec Gemini 2 depth camera on reComputer J4012 to detect objects and measure real-world 3D distances between them in real time using TensorRT acceleration.


Execution model

Run one phase at a time. After each phase:

  • Relay all output to the user.
  • If output contains [STOP] → stop immediately, consult the failure decision tree.
  • If output ends with [OK] → tell the user "Phase N complete" and proceed to the next phase.

Prerequisites

RequirementDetail
Jetson devicereComputer J4012 (Orin NX 16GB) or similar reComputer
JetPack5.1.3 pre-installed
CameraOrbbec Gemini 2 Depth Camera + USB Type-C cable
TensorRT8.x (included with JetPack 5.x)
Python3.8

Phase 1 — Install Orbbec Gemini 2 Python SDK (~10 min)

Clone and install dependencies:

bash
git clone https://github.com/orbbec/pyorbbecsdk.git
sudo apt-get install python3-dev python3-venv python3-pip python3-opencv cmake g++ gcc
pip install pybind11

Install Python requirements:

bash
cd pyorbbecsdk
pip install -r requirements.txt

Build the SDK:

bash
mkdir build
cd build
cmake \
  -Dpybind11_DIR=`pybind11-config --cmakedir` \
  -DPython3_EXECUTABLE=/usr/bin/python3.8 \
  -DPython3_INCLUDE_DIR=/usr/include/python3.8 \
  -DPython3_LIBRARY=/usr/lib/aarch64-linux-gnu/libpython3.8.so \
  ..
make -j4
make install

Install the Python wheel:

bash
cd /path/to/pyorbbecsdk
pip install wheel
python setup.py bdist_wheel
pip install dist/*.whl

[OK] when import pyorbbecsdk works in Python. [STOP] if cmake or make fails.


Phase 2 — Test depth camera (~2 min)

Create a test script or use the SDK examples to verify the camera outputs both RGB and depth frames. Connect the Gemini 2 via USB-C and run:

bash
python test.py

Expected: A window showing RGB image on the left and depth colormap on the right.

[OK] when both streams display correctly. [STOP] if camera is not detected or frames are empty.


Phase 3 — Deploy YOLOv11 with TensorRT (~15 min)

Clone the TensorRT implementation:

bash
git clone https://github.com/wang-xinyu/tensorrtx.git
cd tensorrtx/yolo11

Download the YOLOv11n model:

bash
wget -O yolo11n.pt https://github.com/ultralytics/assets/releases/download/v8.3.0/yolo11n.pt

Generate the .wts file:

bash
python gen_wts.py -w yolo11n.pt -o yolo11n.wts -t detect

Build the TensorRT engine:

bash
mkdir build
cd build
cmake ..
make -j4
./yolo11_det -s yolo11n.wts yolo11n.engine n

Install pycuda for Python inference:

bash
pip install pycuda

[OK] when yolo11n.engine file is generated in the build directory. [STOP] if cmake/make fails or engine serialization errors.


Phase 4 — Run distance measurement

Run the combined detection + distance measurement script (see source.body.md for the full distance_measurement.py script):

bash
python distance_measurement.py

The script detects objects (e.g., cup and mouse) and calculates 3D Euclidean distance between them using depth camera intrinsics:

  • fx=616.707275, fy=616.707275, cx=648.300171, cy=404.478149

Expected: Real-time video with bounding boxes and distance overlay.

[OK] when distance measurements appear on screen. [STOP] if engine loading fails or camera errors.


Failure decision tree

SymptomAction
cmake fails — pybind11 not foundVerify pip install pybind11 and check pybind11-config --cmakedir output.
make fails — Python headers missingInstall python3-dev: sudo apt-get install python3-dev.
Camera not detectedCheck USB-C connection. Run lsusb to verify Orbbec device. Try different USB port.
import pyorbbecsdk failsEnsure the .whl was installed. Re-run pip install dist/*.whl.
TensorRT engine build failsConfirm TensorRT 8.x is installed: dpkg -l | grep tensorrt. JetPack 6+ requires code modifications.
pycuda import errorInstall: pip install pycuda. Ensure CUDA toolkit is in PATH.
OOM during engine serializationClose other GPU processes. Orin NX 16GB should be sufficient for yolo11n.
Distance values seem wrongVerify camera intrinsics with get_camera_parameters.py. Ensure HW D2C alignment is enabled.

Reference files

  • references/source.body.md — Full Seeed Wiki tutorial with hardware connection photo, SDK build details, test scripts, distance calculation math, and complete distance_measurement.py source code (reference only)

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Yolov11 Depth Distance AI skill do?

Deploy YOLOv11 with an Orbbec Gemini 2 depth camera on reComputer J4012 (Jetson Orin NX 16GB) for real-time object detection and 3D distance measurement between detected objects. Uses TensorRT for accelerated inference and pyorbbecsdk for depth data. Requires JetPack 5.1.3.

Why use Yolov11 Depth Distance on TypingMind?

Because you install it once and use it with any model. Yolov11 Depth Distance is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Yolov11 Depth Distance in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/Seeed-Projects/Seeed-Jetson-DevelopTool/tree/main/seeed_jetson_develop/skills/openclaw/yolov11-depth-distance. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Yolov11 Depth Distance?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Yolov11 Depth Distance?

As many as you like. As long as a model supports skills, you can use Yolov11 Depth Distance with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Yolov11 Depth Distance AI skill free?

Yes. It is published on GitHub by Seeed-Projects under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇