GitHub - humanpose1/python_shot: binding of pcl for python shot descriptor
Repository navigation
python_shotPublic
About
binding of pcl for python shot descriptor
Topics
cloud descriptors pcl point python shotResources
Readme MIT license ActivityStars
6 starsWatchers
1 watchingForks
0 forks Report repositoryBranches
Tags
Go to Branches page Go to Tags page
Latest commit
History
5 Commits
View commit history for this file.
Folders and files
| Name | Name | Last commit message | Last commit date |
|---|---|---|---|
| include | include | ||
| src | src | ||
| test | test | ||
| CMakeLists.txt | CMakeLists.txt | ||
| LICENSE | LICENSE | ||
| README.md | README.md | ||
| SHOT.cpp | SHOT.cpp | ||
| SI.cpp | SI.cpp | ||
| install_pcl.sh | install_pcl.sh | ||
| setup.py | setup.py | ||
Repository files navigation
SHOT descriptor for 3D Point Cloud in python
This repo is a binding in python of the SHOT descriptor written in C++ with PCL . It uses the library pybind11 for the binding.
Installation
First you need to install PCL . You can use the script (thanks 3DSmoothnet for the script)
sh install_pcl.sh
then create a conda environnement
conda create -n "python_shot"
and install numpy and pytest
conda install numpy, pytest
Then you can install our library to compute shot
python setup.py install
How to use SHOT descriptor
The SHOT function takes numpy array as argument.
import handcrafted_descriptor as hd descr = hd.compute_shot(point_cloud, normals, keypoints, keypoints_normal)
point_cloud is a numpy array of size N x 3
normals is a numpy array of size N x 3. It is the normals of the point cloud, you need to estimate it beforehand if you do not have access to normals.
keypoints is a numpy array of size M x 3. It is selected keypoints where you want to compute the descriptors.
keypoints_normals is a numpy array of size M x 3. the normals of the keypoints.
descr is a numpy array of size M x 352
About
binding of pcl for python shot descriptor