Smartphone-based driving safety assistant. Two modes: Road (hazard detection) and Driver (attention monitoring). Optional Demo mode uses a video file when camera isn't available (e.g. simulator). See PROJECT_SPEC.MD for full specification.
-
Open the project
open ThirdEye.xcodeproj
-
Select a run destination
In Xcode’s toolbar, choose an iPhone Simulator (e.g. iPhone 16) or a connected iOS device. -
Build and run
Press ⌘R or click the Run button.
From the repo root:
-
Build for simulator (replace with a simulator name from
xcrun simctl list devicesif needed):xcodebuild -project ThirdEye.xcodeproj -scheme ThirdEye \ -destination 'platform=iOS Simulator,name=iPhone 16' \ -configuration Debug build -
Run on simulator (after building):
xcrun simctl boot "iPhone 16" 2>/dev/null || true xcrun simctl install booted build/Debug-iphonesimulator/ThirdEye.app xcrun simctl launch booted com.hackbrown.ThirdEye
Or from the ThirdEye directory:
open ThirdEye.xcodeproj— open in Xcode- Then use ⌘R in Xcode to run.
- macOS with Xcode (iOS 15+)
- iOS Simulator or a physical iPhone/iPad for running the app
- Alerts/ — TTS and alert handling
- App/ — SwiftUI views and view model
- Camera/ — Live camera and video file input
- Driver/ — Driver attention / Presage integration
- HUD/ — Overlay UI
- Road/ — Object detection and road heuristics