TwinPixCleaner
v2.2.0Apache 2.0AI-Powered Visual Duplicate & Similar Photo Cleaner for macOS
A native macOS utility built with SwiftUI and Apple Vision Intelligence that accurately detects duplicate photos, visually similar shots, burst series, and edited screenshots without uploading a single pixel to the cloud.
Technology Stack & Frameworks
Key Features & Capabilities
- •Dual Scanning Engines: Pure SHA-256 binary hash matching and Apple Vision ML feature prints.
- •Transitive Union-Find Clustering powered by Accelerate SIMD vector distance math (vDSP_distancesq).
- •Native Apple Photos integration via PhotoKit to securely inspect your entire iCloud library.
- •Persistent on-disk similarity cache for lightning-fast incremental subsequent scans.
- •Interactive Skipped Files Inspector sheet with search, categorizations, and clipboard export.
- •Safe non-destructive deletion with macOS Trash / Recently Deleted integration and ⌘Z instant Undo.
- •Native Quick Look (Spacebar) preview, keyboard shortcuts, and full VoiceOver accessibility.
System Architecture Highlights
- High-performance ML feature extraction running locally on Apple Neural Engine / GPU.
- Zero-allocation SIMD vector math for clustering thousands of photo embeddings in milliseconds.
- Zero telemetry, zero external network calls — 100% offline privacy guarantee.
# Clone & build native release
git clone https://github.com/AkshayKrGupta/TwinPixCleaner.git
cd TwinPixCleaner
swift build -c release
./.build/release/TwinPixCleaner