Open3D是一个开源库,支持快速开发和处理3D数据。Open3D在c++和Python中公开了一组精心选择的数据结构和算法。后端是高度优化的,并且是为并行化而设置的。
其核心特性包括:
Open3D预构建的pip和conda包支持操作系统为
pip install open3d # or
pip install open3d-cpu # Smaller CPU only wheel on x86_64 Linux (since v0.17+)
Note
国内源
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple open3d
conda create -n open3d python=3.8
conda activate open3d
conda install -c open3d-admin open3d
python -c "import open3d as o3d; print(o3d.__version__)"
未报错且打印出版本号,说明安装成功!
参考文档:
C++版本的安装方式包括:
下面在linux 源码编译Open3D:
# Only needed for Ubuntu
util/install_deps_ubuntu.sh
mkdir build
cd build
sudo cmake -DCMAKE_INSTALL_PREFIX=/opt/Open3D/ -DBUILD_EIGEN3=ON -DBUILD_GLEW=ON -DBUILD_GLFW=ON -DBUILD_JSONCPP=ON -DBUILD_PNG=ON -DPYTHON_EXECUTABLE=/usr/bin/python ..
sudo make -j8
sudo make install
卸载
sudo make uninstall