Skip to content

ToTuanAn/SHREC2022

Repository files navigation

SHREC 2022: Fitting and recognition of simple geometric primitives on point clouds

header The aim of this SHREC track is to evaluate the quality of automatic algorithms for fitting and recognising geometric primitives in point clouds. The goal is to identify, for each point cloud, its primitive type and some geometric descriptors. As simple primitives we mean the classical surface primitives derived from constructive solid geometry, i.e., planes, spheres, cylinders, cones and tori. We admit that some point clouds might be unfitted by one of these simple primitives.

Table of Content

  • Requirements
  • Dataset
  • Data preprocessing
  • Classify
  • Trainning
  • Evaluation

Requirements

  • python=3.7
  • torch==1.8.0
conda create -n shrec 
conda activate shrec
pip install torch==1.8.0+cu111 torchvision==0.9.0+cu111 torchaudio==0.8.0 -f https://download.pytorch.org/whl/torch_stable.html
pip install open3d

Dataset

Data is provided by SHREC2022. To get the the full dataset please contact them through this website

dataset
└───train
	|Cone
	|Cylinder
	|Plane
	|Shpere
	|Torus
───val
	|val_txt
	|val_ply
───test
	|testdata

Data preprocessing

Given the raw data, we need to upscale the pointclouds data to a constant value. To do that, we can run the following code

python preprocessing.py

We provided a code to change .txt file to .ply if needed

python txt2ply.py

Classify

Fitting the pointclouds and store the data in a csv file

python classify.py

Training

For training, we employed pointNet architecture. Pretrained models are save in the model/ directory.

python train.py 

Evaluation

python eval.py 

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors