ShapenetSem-to-RGBD
收藏资源简介:
ShapenetSem-to-RGBD数据集是由Instituto Superior T´ecnico University of Lisbon的研究人员创建的,包含8958个数据条目。该数据集通过模拟RGBD图像,并利用ShapeNetSem 3D模型进行数据生成,旨在为深度学习模型提供训练数据,以实现从深度图像中估计物体质量的目的。该数据集的创建过程首先是在ShapeNetSem模型库中筛选出具有有效尺寸和重量的模型,然后模拟Kinect相机拍摄这些模型,生成RGBD图像。这些数据被用于训练深度估计模型,以提高机器人任务中质量估计的准确性。
The ShapenetSem-to-RGBD dataset was created by researchers from the Instituto Superior Técnico, University of Lisbon, and consists of 8958 data entries. It is generated by simulating RGBD images and leveraging ShapeNetSem 3D models, with the aim of providing training data for deep learning models to enable object mass estimation from depth images. The dataset construction process first screens models with valid dimensions and weights from the ShapeNetSem model library, then simulates the capture of these models via a Kinect camera to produce RGBD images. These data are utilized to train depth estimation models, thereby improving the accuracy of mass estimation in robotic tasks.
ShapenetSem to RGBD 数据集概述
数据集来源
- 原始数据集:ShapenetSem
- 下载地址:https://huggingface.co/datasets/ShapeNet/ShapeNetSem-archive
- 最新元数据下载地址:https://dagshub.com/Rutam21/ShapeNetSem-Dataset_of_3D_Shapes
数据集结构
- models-binvox
- models-binvox-solid
- models-COLLADA
- models-OBJ
- models-textures
- categories.synset.csv
- densities.csv
- materials.csv
- metadata.csv
- taxonomy.txt
主要功能
- 提供将ShapenetSem数据集中的3D模型渲染为Kinect RGBD相机模拟输出的脚本
- 支持多视角渲染和标准视角渲染
- 包含辅助脚本用于修复数据集bug和并行渲染
已知问题与修复
-
问题:ShapenetSem数据集加载到Blender时"Dissolve (d)"值反转导致模型透明
-
修复脚本:
fix_shapenetsem.py -
修复命令: bash python fix_shapenetsem.py --directory /path/to/ShapeNetSem/models-OBJ/models/
或 bash python fix_shapenetsem.py --directory /path/to/ShapeNetSem/models-OBJ/models/ --output_folder /path/to/output/
渲染功能
单模型渲染
-
命令格式: bash blender --background --python /path/to/render_blender.py -- --output_folder /path/to/outputs --up 0,0,1 --front 1,0,0 --aligned_dims 1.0,1.0,1.0 --unit 1.0 /path/to/my.obj
-
输出:
- 8个鸟瞰视角渲染
- 6个标准方向渲染(上、下、左、右、前、后)
- 包含RGB(.png)和深度(.exr)文件
相机参数
- 图像宽度:640
- 图像高度:480
- ox = 图像宽度/2
- oy = 图像高度/2
- 相机FOV:57
- fx = 588
- fy = 588
- 相机矩阵:((fx, 0, ox), (0, fy, oy), (0, 0, 1))
批量并行渲染
-
生成命令脚本: bash python generate_commands.py --metadata /path/to/ShapeNetSem/metadata.txt --obj_directory /path/to/ShapeNetSem/models-OBJ/models/ --render_blender_path /path/to/render_blender.py --output_directory /path/to/output/
-
执行并行渲染: bash python /path/to/render_blender_parallel.py --file /path/to/commands.txt
系统要求
- 主脚本:Blender 2.9.0
- 辅助脚本:Python 3.7.16,Pandas 1.0.2(兼容更新版本)
- 测试环境:Windows 10(兼容其他操作系统)




