Skip to content

centreborelli/pypotree

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PyPotree (potree for jupyter notebooks and colab)

Allows to insert potree cells into jupyter and colab notebooks

Gabriele Facciolo, CMLA 2019

Try it on Colab

Installation and dependencies

The main source code repository for this project is https://github.com/cmla/pypotree It is written in Python and contains Potree and PotreeConverter. It was tested with Python 3.5 and 3.6.

pypotree requires C and C++ developement tools.

pypotree can be installed with pip:

pip install pypotree

Usage

In Colab:

 import pypotree 
 import numpy as np
 xyz = np.random.random((100000,3))
 cloudpath = pypotree.generate_cloud_for_display(xyz)
 pypotree.display_cloud_colab(cloudpath)

In a Jupyter notebook:

 import pypotree 
 import numpy as np
 xyz = np.random.random((100000,3))
 cloudpath = pypotree.generate_cloud_for_display(xyz)
 pypotree.display_cloud(cloudpath)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages