raphaelsulzer / scan-the-bunny

Virtual Scanning Simulation in Python

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Virtual Scanning Simulations in Python

This repository contains code and sample data for creating virtual scanning simulations like the ones below. The code produces point clouds with realistic characteristics such as non-uniformity and missing data from self-occlusions. It is mainly meant for visualising the scanning process.

Installation

Simply run install.sh to install a conda environment named scan and you are ready to use the library.

Range scanning simulation

sc=Scanner(model="bunny",steps=360)
sc.scan(n_rays=100)
sc.scanVisualize(texture=True)
sc.pointsVisualize(with_mesh=True)

MVS simulation

sc=Scanner(model="airplane",steps=360)
sc.scanMVS(n_points=4000)
sc.scanVisualizeMVS(texture=False)
sc.pcVisualize(with_mesh=False,type="mvs")

Real scanning

You can find example code for MVS and LiDAR scanning visualisation of the ETH3D dataset in this repository.

About

Virtual Scanning Simulation in Python

License:MIT License


Languages

Language:Python 98.8%Language:Shell 1.2%