Discover hidden text in your images with this playful SwiftUI OCR app powered by Apple Vision Framework.
- Browse your photo library using SwiftUI’s
PhotosPicker. - Leverage
VNRecognizeTextRequestfor precise text extraction. - Real‑time feedback: shows “Decoding…” while processing.
- Displays extracted text in a scrollable view.
- Clean, minimalist SwiftUI interface with concise code.
- Xcode 15 or later
- iOS 16.0+ deployment target
- Swift 5.7 or above
- Clone the repository
git clone https://github.com/yourusername/SneakyPeeky.git
- Open in Xcode
cd SneakyPeeky open SneakyPeeky.xcodeproj - Configure Signing
- Select your Development Team under Signing & Capabilities.
- Build & Run on a device or simulator.
- Tap Select Photo to open the picker.
- Choose any image containing text.
- Watch “Decoding…” and see the hidden message revealed!
ContentView.swift: Main SwiftUI view with UI and OCR logic.PhotosPicker: SwiftUI-native photo selector fromPhotosUI.- Vision OCR: Powered by
VNRecognizeTextRequestfor text detection.
Licensed under the MIT License. See LICENSE for details.