This project hasn't been updated in a long time, so it no longer appears on the homepage, categories, or search results — the data is preserved and this page still works normally.
Back to Trending
RepositoryPythonJPJapan
ibaiGorordo

ibaiGorordo/ONNX-CenterSnap-6D-Pose-and-Shape-Estimation

Python scripts for performing 6D pose estimation and shape reconstruction using the CenterSnap model in ONNX

77stars
8forks
2issues
0views

Thành tựu nổi bật

Những danh hiệu mới nhất của dự án

1
TINIX TRENDING·Chủ đề: 3d-object-reconstruction

#1 Repository Của Tháng

1
TINIX TRENDING·Chủ đề: depthai

#1 Repository Của Tháng

1
TINIX TRENDING·Chủ đề: onnxruntime-gpu

#1 Repository Của Tháng

ONNX-CenterSnap-6D-Pose-and-Shape-Estimation

Python scripts for performing 6D pose estimation and shape reconstruction using the CenterSnap model in ONNX

ONNX-CenterSnap-6D-Pose-and-Shape-Estimation

Important

  • The original model has not been officially released, therefore, there might be changes to the official model later on.
  • The examples seem to not properly work when using a camera other than the one in the original dataset. This is probably due to an implementation mistake on this repository, if you find the issue, please submit an issue or PR.
  • The model only works with the following objects (the objects avaialble in the training dataset): bottle, bowl, camera, can, laptop, and mug.

Requirements

  • Check the requirements.txt file.
  • Additionally depthai library is necessary for testing with OAK-D boards. Check the example below for how to install it.
  • Similarly, you will need to commit the pyKinectAzure repository to run the example with the Azure Kinect. Check the example below for how to install it.

Installation

pip install -r requirements.txt

ONNX model

Download the models from here and here, and place them in the models folder. For converting the original Pytorch model to ONNX, check the following branch: https://github.com/ibaiGorordo/CenterSnap/tree/convert_onnx

How to use

The model returns multiple outputs (segmentation map, heat map, 3D position...), here is a short explanation on how to run these examples. For the image examples, you will need to download the data from the original source: https://www.dropbox.com/s/yfenvre5fhx3oda/nocs_test_subset.tar.gz

  • Image Segmentation map:

CenterSnap Semantic map

python image_draw_semantic_map.py
  • Image heatmap:

CenterSnap heatmap

python image_draw_heatmap.py
  • Image depth map (Same as input):

CenterSnap depth map

python image_draw_depth.py
  • Image projected 3D pose:

CenterSnap projected 3d pose

python image_draw_pose2d.py
  • Image 3D pose:

CenterSnap 3d pose

python image_draw_pose3d.py

OAK-D 3D pose:

https://user-images.githubusercontent.com/43162939/159125339-884517ef-7796-4abc-8e09-e8ed1ad7b43c.mp4

First, install the depthai library: pip install depthai

python depthai_draw_pose3d.py

Realsense 3D pose:

https://user-images.githubusercontent.com/43162939/161429186-1a678e8f-f7e6-4afb-b687-4debd77496dc.mp4

First, install the pyrealsense2 library: pip install pyrealsense2

python realsense_draw_pose3d.py

Azure Kinect 3D pose:

python kinect_draw_pose3d.py

References

Similar Projects

Discover other similar projects and AI models.

RepositoryPython
d2l-ai/d2l-zh

《动手学深度学习》:面向中文读者、能运行、可讨论。中英文版被70多个国家的500多所大学用于教学。

82.1k
Jul 30, 2024
RepositoryPython
Significant-Gravitas/AutoGPT

AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.

187.7k
Oct 24, 2026
RepositoryPython
Comfy-Org/ComfyUI

The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.

143.2k
Oct 26, 2026
RepositoryC++
opencv/opencv

Open Source Computer Vision Library

91.3k
Oct 26, 2026
Modelsentence-similarity
sentence-transformers/all-MiniLM-L6-v2

all-MiniLM-L6-v2 This is a sentence-transformers(https://www.SBERT.net) model: It maps sentences & paragraphs to a 384 dimensional dense vector space and can be used for tasks like clustering or semantic search. Usage (Sentence-Transformers) Using t...

♥0
190.2M
Jun 1, 2026
RepositoryPython
huggingface/transformers

🤗 Transformers: the model-definition framework for state-of-the-art machine learning models in text, vision, audio, and multimodal models, for both inference and training.

168.0k
Oct 23, 2026
RepositoryPython
harry0703/MoneyPrinterTurbo

利用 AI 大模型和自动化工作流,根据主题或关键词一键生成高清短视频。Generate HD short videos from a topic or keyword with an automated AI workflow.

135.4k
Oct 26, 2026
RepositoryC++
tensorflow/tensorflow

An Open Source Machine Learning Framework for Everyone

201.2k
Oct 24, 2026
RepositoryPython
ultralytics/yolov5

Ultralytics YOLOv5 in PyTorch for object detection, instance segmentation, classification, training, and export.

58.2k
Oct 21, 2026