box-pointcloud-collector

Intel RealSense D455 箱体点云数据采集工具。用于采集箱体的 RGB 彩色图和深度图数据集,支持手动/自动采集模式。触发场景:(1) 采集箱体/物体点云数据 (2) 创建深度学习训练数据集 (3) Bin Picking 项目数据准备 (4) 相机标定数据采集。支持 Intel RealSense D455 相机。

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "box-pointcloud-collector" with this command: npx skills add qujingyang28/box-pointcloud-collector

箱体点云数据采集工具

使用 Intel RealSense D455 相机采集箱体 RGB-D 数据集。

快速开始

启动采集

python scripts/collect_v2.py

操作按键

按键功能
S保存 1 张(RGB + Depth)
A自动保存 10 张(每 5 秒 1 张)
Q退出并打开数据目录

数据集结构

box_dataset/
└── box_YYYYMMDD_HHMMSS/
    ├── camera_intrinsic.json    # 相机内参
    ├── dataset_config.json      # 数据集配置
    ├── capture_stats.json       # 采集统计
    └── raw_data/
        ├── 000001_Color.png     # RGB 彩色图
        ├── 000001_Depth.raw     # 深度图 (uint16)
        └── ...

文件格式

文件格式说明
XXX_Color.pngPNG 8位 RGB彩色图像
XXX_Depth.rawuint16 raw深度数据 (640×480×2 bytes)
camera_intrinsic.jsonJSON相机内参 (fx, fy, cx, cy)

数据处理

读取深度图

import numpy as np

depth = np.fromfile("000001_Depth.raw", dtype=np.uint16)
depth = depth.reshape(480, 640)
depth_m = depth / 1000.0  # 转换为米

像素坐标 → 3D 坐标

import json

with open("camera_intrinsic.json") as f:
    intr = json.load(f)

def pixel_to_3d(u, v, depth_m):
    X = (u - intr['ppx']) * depth_m / intr['fx']
    Y = (v - intr['ppy']) * depth_m / intr['fy']
    Z = depth_m
    return X, Y, Z

采集规范

  • 有效距离:0.5m - 2.5m
  • 推荐距离:0.5m - 1.5m
  • 每种箱体:20-30 张
  • 变换角度:调整箱子位置/角度增加多样性

注意事项

  1. 中文路径问题:数据集目录使用纯英文命名
  2. 键盘焦点:点击 RGB Camera 窗口后按 S/A 键
  3. 相机占用:关闭 RealSense Viewer 等程序

硬件要求

  • Intel RealSense D455
  • USB 3.0 接口
  • Windows 10/11

依赖安装

pip install pyrealsense2 opencv-python numpy

作者:Robot_Qu
版本:v2.0

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Automation

OpenClaw Studio

Use when the user wants a local visual operations dashboard for OpenClaw, with a cute robot presentation, live status visibility, chat access, efficiency tre...

Registry SourceRecently Updated
2820Profile unavailable
Automation

OpenClaw Dashboard

Use when the user wants a local visual operations dashboard for OpenClaw, with a cute robot presentation, live status visibility, chat access, efficiency tre...

Registry SourceRecently Updated
2730Profile unavailable
Automation

Solo Hub Guide

Interactive step-by-step tutor for Solo Hub — guides a human through account setup, model browsing, team management, credits, and fine-tuning (LLM and VLA) u...

Registry SourceRecently Updated
1291Profile unavailable
Automation

具身智能前沿追踪系统

具身智能领域前沿动态追踪与视频素材采集系统;覆盖顶会论文(ICRA/IROS/CoRL/CVPR/NeurIPS)、开源项目、实验室动态;优先采集有Demo视频的爆款工作;生成含发布时间/主页/代码/视频链接的结构化日报,支持视频号内容创作

Registry SourceRecently Updated
780Profile unavailable