3D Reconstruction with iPhone and Open3D

This is a toolchain for 3D Reconstruction with iPhone 12 Pro/Pro Max.
Tools for recording RGB-D data and 3D reconstruction are provided.

Demo

3D Model Example

https://skfb.ly/opuAL

Dataset

https://drive.google.com/file/d/1VpPpv27ai7g-fK3EEVo5zacZPFd073t6/view?usp=sharing

Environment

Hardware

  • iPhone 12 Pro/Pro Max
  • Windows PC

iPhone App

PC Software

Installation

iPhone

PC

  • Install Python

    https://www.python.org/downloads/windows/

  • Install pipenv

    pip install pipenv
  • Git Clone and Install Package

    git clone --recursive https://github.com/ylabo0717/iPhone-3D-Reconstruction.git
    # You can also update the submodule manually
    git submodule update --init --recursive
  • Install Package (Sync Virtual Envirioment)

    cd iPhone-3D-Reconstruction
    pipenv sync
    pipenv shell

Usage

1. Recording

2. 3D Reconstrucion

  • Open3D Reconstruction System

    Run the following command.

    ./Reconstruction.bat <data path>
    
    # example
    ./Reconstruction.bat ./data/2021-08-13_012134

    The integrated.ply file will be saved in /scene/ folder.

    data
    └── yyyy-mm-dd_HHMMSS
        └── scene
             └── integrated.ply
    
  • Open3D VoxelHashingGUI

    Run the following command.

    # CPU
    ./VoxelHashingGUI.bat <data path>
    
    # CUDA
    ./VoxelHashingGUI_cuda.bat <data path>
    
    # example
    ./VoxelHashingGUI.bat ./data/2021-08-13_012134

    The integrated.ply file will be saved in /scene/ folder.

    data
    └── yyyy-mm-dd_HHMMSS
        └── scene.ply
    

3. Visualization

Run the following command.

./visualizer_pcd.py <point cloud data path>

# example
python ./visualizer_pcd.py ./data/2021-08-13_012134/integrated.ply

For more information, please visit the following website. http://www.open3d.org/docs/latest/tutorial/Basic/visualization.html

License

Distributed under the MIT License. See LICENSE for more information.