Open3d
Open3D is an open source library that supports rapid development and processing of 3D data. Open3D exposes a carefully selected set of data structures and algorithms in C++ and Python. The backend is highly optimized and set up for parallelization.
Its core features include:
- 3D data structure
- 3D data processing algorithm
- scene reconstruction
- surface alignment
- 3D visualization
- Physically Based Rendering (PBR)
- Pytorch and Tensorfloa support 3D machine learning
- GPU acceleration of core 3D operations
- C++ and python code interface
Quick installation and use of Python version
Open3D pre-built pip and conda packages support operating systems as
- Ubuntu 18.04+
- macOS 10.15+
- Windows 10+ (64-bit)
python version is - 3.7
- 3.8
- 3.9
- 3.10
If you have other Python versions and operating systems, you can refer to compile from source code. - Install Open3D via pip
pip install open3d # or
pip install open3d-cpu # Smaller CPU only wheel on x86_64 Linux (since v0.17+)
Note
Domestic source
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple open3d
- Install Open3D via Conda
conda create -n open3d python=3.8
conda activate open3d
conda install -c open3d-admin open3d
- When the installation is complete, test whether the installation was successful
python -c "import open3d as o3d; print(o3d.__version__)"
No error is reported and the version number is printed out, indicating that the installation is successful!
Quick installation and use of C++ version
Reference document:
The installation methods of the C++ version include:
The following compiles Open3D from the linux source code:
# 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
uninstall
sudo make uninstall