This is a toolchain for 3D Reconstruction with iPhone 14 Pro/Pro Max.
Tools for recording RGB-D data and 3D reconstruction are provided.
- iPhone 14 Pro/Pro Max or 15 Pro/Pro Max
- Windows PC
- Record3D 1.6.1
- Windows 10
- Python 3.10
- Python Package
- opencv-python 4.8.1
- record3d 1.3.1
- open3d 0.17.0
- numpy 1.26.2
-
Install the Record3D app from the App Store.
https://apps.apple.com/jp/app/record3d-3d-videos/id1477716895
-
Install Python
-
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
-
Recording with iPhone + Record3D
Recorded data is stored as follows.
data └── yyyy-mm-dd_HHMMSS
If you wish to use the sample data without recording, please download and extract the data below.
https://drive.google.com/file/d/1meQePVfVVEM1qPjwnwsnfL_2Y2mGCAm7/view?usp=sharing
-
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
Distributed under the MIT License. See LICENSE for more information.