Skip to content

Latest commit

 

History

History
145 lines (89 loc) · 2.96 KB

README.md

File metadata and controls

145 lines (89 loc) · 2.96 KB

3D Reconstruction with iPhone and Open3D

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

Demo

3D Model Example

https://skfb.ly/opuAL

Environment

Hardware

  • iPhone 14 Pro/Pro Max or 15 Pro/Pro Max
  • Windows PC

iPhone App

PC Software

Installation

iPhone

PC

  • Install Python

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

  • 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
    pip install -r requirements.txt

Usage

1. Recording

2. 3D Reconstruction

  • Open3D OnlineSLAM

    Download the bellow zip file and extract it.

    https://drive.google.com/file/d/13MgkJvk39FLkLzzEL6TDKsKE8dVlcF6l/view?usp=sharing

    <This directory>
    └── open3d_bin
    |     OfflineSLAM.exe
    |     OnlineSLAMRGBD.exe
    └── resources
    

    Run the following command.

    # CPU
    ./OnlineSLAM.bat <data path>
    
    # CUDA
    ./OnlineSLAM_cuda.bat <data path>
    
    # example
    ./OnlineSLAM.bat ./data/2023-12-03_163505

    Click the [Pause/Resume] switch.

    Close the application when SLAM is finished. The scene.ply file will be saved in folder.

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

Run the following command.

./visualizer_pcd.py <point cloud data path>

# example
python ./visualizer_pcd.py ./data/2023-12-03_163505/scene/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.