/install image-3d-scene-reconstruction
Image 3D Scene Reconstruction | 图像3D场景重建
从卫星图、航拍图或普通照片重建三维场景结构。基于 DA3Metric-Large(Depth Anything 3)深度估计模型,单张图片即可输出深度图、点云和 3D 模型。
Reconstruct 3D scenes from satellite, aerial, or regular photos. Based on DA3Metric-Large (Depth Anything 3), outputs depth maps, point clouds, and 3D models from a single image.
能力 | Capabilities
- 单图深度估计:输入一张图片,输出米制深度图(米为单位)
- 点云生成:从深度图反投影生成彩色 3D 点云
- 3DGS 输出:模型内置 3D Gaussian Splatting 能力
- 相机位姿估计:自动估计相机内外参
- 多图融合:支持多张图片输入做场景融合
使用方式 | Usage
快速开始
cd ~/.openclaw/workspace/projects/image-3d-scene-reconstruction
python3 scripts/reconstruct.py --input photo.jpg --output output/
Python API
from depth_anything_3.api import DepthAnything3
import cv2
model = DepthAnything3.from_pretrained('depth-anything/DA3Metric-Large')
model = model.cuda().eval()
img = cv2.imread('photo.jpg')
pred = model.inference([img])
depth = pred.depth[0] # [H, W] 米制深度
extrinsics = pred.extrinsics # 相机外参
intrinsics = pred.intrinsics # 相机内参
CLI
# 单张图片 → 3D 输出
python3 -m depth_anything_3.cli image photo.jpg --export-dir output/ --export-format glb
# 多张图片 → 融合场景
python3 -m depth_anything_3.cli images ./photos/ --export-dir output/
依赖 | Dependencies
| 包 | 用途 |
|---|---|
| depth-anything-3 | 深度估计 + 3D 重建引擎 |
| opencv-python | 图像处理 |
| torch + torchvision | PyTorch 深度学习框架 |
| open3d | 点云处理(可选) |
| trimesh | Mesh 处理(可选) |
硬件要求 | Hardware
- GPU:NVIDIA GPU,6GB+ VRAM(GTX 1060 及以上)
- CUDA:12.1+(PyTorch 2.5+)
- CPU 模式:可用但极慢,仅推荐测试
项目文件 | Project Files
详见 ~/.openclaw/workspace/projects/image-3d-scene-reconstruction/README.md
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install image-3d-scene-reconstruction - 安装完成后,直接呼叫该 Skill 的名称或使用
/image-3d-scene-reconstruction触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Image 3D Scene Reconstruction | 图像3D场景重建 是什么?
Reconstruct 3D scenes from single images using depth estimation. 从单张图片重建3D场景结构(深度图、点云、Mesh)。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 22 次。
如何安装 Image 3D Scene Reconstruction | 图像3D场景重建?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install image-3d-scene-reconstruction」即可一键安装,无需额外配置。
Image 3D Scene Reconstruction | 图像3D场景重建 是免费的吗?
是的,Image 3D Scene Reconstruction | 图像3D场景重建 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Image 3D Scene Reconstruction | 图像3D场景重建 支持哪些平台?
Image 3D Scene Reconstruction | 图像3D场景重建 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Image 3D Scene Reconstruction | 图像3D场景重建?
由 Morois(@moroiser)开发并维护,当前版本 v0.0.1。