demo.mp4
Stream Apple lidar data (e.g. iPad Pro) with open3d.
Please leave a star if this helps you!
Uses record3d to stream lidar data, and visualizes point clouds by open3d.
- Clone the repository:
git clone https://github.com/yourusername/apple-lidar-stream.git
cd apple-lidar-stream
- Install dependencies:
pip install -r requirements.txt
- Install the Record3D app on your Apple device from the App Store
- Connect your Apple device to the computer with a USB cable
- Launch the Record3D app on your device
- Run the streaming script:
python ipad_stream.py
The application supports the following keyboard shortcuts:
F
: Toggle point cloud filteringR
: Start/stop recordingS
: Save current frameE
: End recording and save combined point cloud
You can customize point cloud processing by modifying these parameters in the code:
Statistical outlier removal:
nb_neighbors
: Number of neighboring points to consider (default: 20)std_ratio
: Standard deviation ratio (default: 2.0)
Voxel downsampling:
voxel_size
: Size of voxel for downsampling (default: 0.01)
Normal estimation:
radius
: Search radius (default: 0.1)max_nn
: Maximum nearest neighbors (default: 30)
- Individual frames: Saved as PLY files
- Recordings: Combined point clouds saved as PLY files
- All exports include:
- 3D point coordinates
- RGB colors
- Normal vectors (when enabled)
Since I have only iPad Pro, I cannot test this on iPhone 12Pro or 13Pro.
Thanks to #2, it works on iPhone LiDARs too.