在 RDK X5 的 10TOPS BPU 上运行单个 AI 推理算法:YOLO 目标检测、图像分类、语义分割、人脸识别、手势识别、人体关键点、开放词汇检测(DOSOD/YOLO-World)、双目深度估计、语音识别、端侧轻量 LLM(≤2B 参数量化模型)。Use when the user wants to run a single AI algorithm, deploy pre-built .bin models to BPU, or ask what AI models/LLMs RDK X5 can run (能力咨询). Do NOT use for camera hardware setup (use rdk-x5-camera), multimedia encoding (use rdk-x5-media), running /app demo scripts (use rdk-x5-app), integrated camera+AI+output pipeline (use rdk-x5-tros), model conversion/quantization/e
RDK X5 搭载 10 TOPS BPU,所有 AI 算法通过 TogetheROS.Bot (tros.b) 框架运行。
bash
bash
source /opt/tros/humble/setup.bash
ros2 launch dnnnodeexample dnnnodeexample.launch.py \
dnnexampleconfig_file:=config/yolov5sworkconfig.json \
dnnexampleimagewidth:=640 dnnexampleimageheight:=480
浏览器 http://
可选模型配置文件:
| 模型 | config 文件 |
|---|---|
| YOLOv5s | config/yolov5sworkconfig.json |
| MobileNetV2 分类 |
bash
source /opt/tros/humble/setup.bash
ros2 launch dnnnodeexample dnnnodeexample.launch.py \
dnnexampleconfig_file:=config/mobilenetv2workconfig.json
bash
source /opt/tros/humble/setup.bash
bash
source /opt/tros/humble/setup.bash
bash
source /opt/tros/humble/setup.bash
ros2 launch hobotasr hobotasr.launch.py
需配合音频子板(微雪 WM8960 Audio HAT 或幻尔载板)。
bash
source /opt/tros/humble/setup.bash
ros2 launch hobotllamacpp hobotllamacpp.launch.py
bash
source /opt/tros/humble/setup.bash
ros2 launch websocket websocket.launch.py
所有算法结果叠加实时画面,浏览器 http://
bash
source /opt/tros/humble/setup.bash
ros2 launch hobotrtspclient hobotrtspclient.launch.py \
rtsp_url:=rtsp://admin:password@192.168.1.64:554/stream1
bash
| 现象 | 原因 | 解决 |
|---|---|---|
| Load model failed | 模型文件不存在或格式错误 | 检查 .bin 文件路径;模型需经 hbmapper 转换为 NV12 格式 |
| BPU ratio 始终 0 |
该技能支持在以下平台通过对话安装:
帮我安装 SkillHub 和 rdk-x5-ai-detect-1776155363 技能
设置 SkillHub 为我的优先技能安装源,然后帮我安装 rdk-x5-ai-detect-1776155363 技能
skillhub install rdk-x5-ai-detect-1776155363
文件大小: 2.64 KB | 发布时间: 2026-4-15 13:42