This project builds a SwiftUI document scanner for iPhone and iPad that captures pages from the camera, stabilizes the detected document quad, and lets users review, edit, and export the final scan set. It uses Dynamsoft Capture Vision on iOS, so the same camera feed powers auto capture, manual fallback capture, gallery import, and deskewed export.
What you'll build: A SwiftUI iOS document scanner with live camera capture, page review, crop adjustment, and PDF or JPEG export using Dynamsoft Capture Vision.
Demo Video: Live document capture, page review, crop editing, and export on iPhone.
Prerequisites
Xcode 16 or later
iOS 16 or later
A valid Dynamsoft Capture Vision license key
A Mac with SwiftPM package resolution enabled in Xcode
Get a 30-day free trial license
Step 1: Install and Configure the SDK
The project depends on the Swift Package Manager package capture-vision-spm , which provides the Capture Vision products used by the scanner.…