jypyter笔记本的potree可视化
pypotree的Python项目详细描述
pypotree(jupyter笔记本和colab的potree)
允许将Potree单元格插入Jupyter和Colab笔记本
Gabriele Facciolo,加布里埃尔·法乔洛,CMLA 2019年
安装和依赖项
此项目的主要源代码存储库是https://github.com/cmla/pypotree 它是用python编写的,包含potree和potreecoverter。它是用Python3.5和3.6测试的。
^
pypotree
可以与pip
一起安装:
pip install pypotree
用法
在python解释器中:
>>> import pypotree
>>> import numpy as np
>>> xyz = np.random.random((100000,3))
>>> cloudpath = pypotree.generate_cloud_for_display(xyz)
>>> pypotree.display_cloud_colab(cloudpath)