Skip to content

Swift-Coding-Club-UCD/SneakyPeaky

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

3 Commits
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Sneaky Peeky ๐Ÿ•ต๏ธโ€โ™‚๏ธ

Discover hidden text in your images with this playful SwiftUI OCR app powered by Apple Vision.


๐ŸŒŸ Highlights

  • Browse your photo library using SwiftUIโ€™s PhotosPicker.
  • Leverage VNRecognizeTextRequest for precise text extraction.
  • Realโ€‘time feedback: shows โ€œDecodingโ€ฆโ€ while processing.
  • Displays extracted text in a scrollable view.
  • Clean, minimalist SwiftUI interface with concise code.

๐Ÿ“ Prerequisites

  • Xcode 15 or later
  • iOS 16.0+ deployment target
  • Swift 5.7 or above

โš™๏ธ Setup

  1. Clone the repository
    git clone https://github.com/yourusername/SneakyPeeky.git
  2. Open in Xcode
    cd SneakyPeeky
    open SneakyPeeky.xcodeproj
  3. Configure Signing
    • Select your Development Team under Signing & Capabilities.

๐Ÿš€ Getting Started

  1. Build & Run on a device or simulator.
  2. Tap Select Photo to open the picker.
  3. Choose any image containing text.
  4. Watch โ€œDecodingโ€ฆโ€ and see the hidden message revealed!

๐Ÿ“ Important Files

  • ContentView.swift: Main SwiftUI view with UI and OCR logic.
  • PhotosPicker: SwiftUI-native photo selector from PhotosUI.
  • Vision OCR: Powered by VNRecognizeTextRequest for text detection.

โš–๏ธ License

Licensed under the MIT License. See LICENSE for details.

About

Text Recognition with Swift

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages