Point cloud object detection
Collection
12 items • Updated
A VoteNet 3D object detection model (deep Hough voting detector). Trained on SUN RGB-D.
pip install torch-pointcloud
import torch
import torch_pointcloud as tp
from torch_pointcloud.utils.data import collate
model, info = tp.create_model(
"votenet.sunrgbd.fair",
task="detection",
pretrained=True,
return_info=True,
)
model = model.eval()
# synthetic sample with the keys a dataset provides
num_points = 8192
sample = {
"pos": torch.randn(num_points, 3),
"color": torch.rand(num_points, 3) * 255,
}
data = info["transform"](sample)
data = collate([data])
with torch.no_grad():
out = model(data.get("x"), data["pos"], data["batch"])
with torch.no_grad():
features = model.forward_features(data.get("x"), data["pos"], data["batch"]) # 256 channels
@inproceedings{qi2019votenet,
title = {Deep Hough Voting for 3D Object Detection in Point Clouds},
author = {Charles R. Qi and Or Litany and Kaiming He and Leonidas J. Guibas},
booktitle = {ICCV},
year = {2019}
}
@inproceedings{song2015sunrgbd,
title = {{SUN RGB-D}: A {RGB-D} Scene Understanding Benchmark Suite},
author = {Song, Shuran and Lichtenberg, Samuel P. and Xiao, Jianxiong},
booktitle = {CVPR},
year = {2015}
}
@software{dujardin2026pytorchpointcloud,
author = {Arthur Dujardin},
title = {PyTorch PointCloud},
year = {2026},
doi = {10.5281/zenodo.22159632},
url = {https://github.com/arthurdjn/pytorch-pointcloud},
}