Skip to content

Capture, scan, and explore your surroundings in 3D with just your iPhone or iPad!

License

Notifications You must be signed in to change notification settings

cedanmisquith/SwiftUI-LiDAR

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LiDAR 3D Scanner for iOS (SwiftUI + ARKit)

A SwiftUI-based iOS app that leverages Apple's LiDAR sensors and ARKit to scan real-world environments, generate a detailed 3D mesh, and export it as a .OBJ file for 3D preview, analysis, or further processing.

✨ Features

  • Real-time environment scanning using LiDAR sensors (iPhone / iPad Pro).

  • Mesh generation with detailed depth mapping and surface reconstruction.

  • Export 3D mesh as a standard .OBJ file.

  • Preview scanned models with pan, zoom, and rotate controls in an ARKit scene.

  • Smooth SwiftUI interface integrated with ARKit rendering.

📱 Requirements

  • iOS 16.0+

  • Xcode 15+

  • Device with LiDAR sensor (e.g., iPhone 12 Pro, 13 Pro, 14 Pro, or iPad Pro).

🚀 Getting Started

  1. Clone the repository:

    git clone https://github.com/cedanmisquith/SwiftLiDAR

  2. Open the project in Xcode.

  3. Build and run on a physical device with a LiDAR sensor (simulator not supported).

🛠️ Tech Stack

  • SwiftUI

  • ARKit

  • RealityKit

  • SceneKit (.OBJ file handling)

🎥 Screen Recordings

3D Scanning View Scans

📸 Screenshots

3D Scanning View Scans

🧠 Inspiration

Built as a lightweight tool to quickly capture and explore 3D spaces, intended for developers, hobbyists, 3D artists, and AR enthusiasts.

Adapted from the repository created by kelvinjou. You can also follow through the tutorials posted on the YouTube channel.

📄 License

MIT License