Skip to content

Latest commit

 

History

History
84 lines (54 loc) · 1.88 KB

File metadata and controls

84 lines (54 loc) · 1.88 KB

🍃 LeafLens

iOS CI Architecture

LeafLens is a SwiftUI-based iOS application that detects real-world objects using the device camera, matches them with trained machine learning models, and stores the results for later review.

The project demonstrates practical integration of Vision and CoreML frameworks within a clean MVVM architecture.


✨ Features

  • 📷 Real-time object detection using camera
  • 🧠 Smart classification powered by CoreML
  • 🔍 Vision framework integration
  • 💾 Save and review previous detection results
  • 🎨 Clean and responsive SwiftUI interface
  • 🏗 Scalable MVVM architecture

🏗 Architecture

The app follows MVVM (Model-View-ViewModel) pattern:

  • Model → Data structures & ML result mapping
  • View → SwiftUI UI components
  • ViewModel → Business logic & Vision/ML handling

This ensures clean separation of concerns and testable logic.


🛠 Tech Stack

  • Swift
  • SwiftUI
  • Vision Framework
  • CoreML
  • AVFoundation (Camera handling)
  • MVVM Architecture

📸 Preview

App Preview

Replace the image path with your actual preview image stored in the repository.


📂 Project Structure

LeafLens/ ├─ Models/

├─ Views/

├─ ViewModels/

├─ Resources/

└─ Assets.xcassets/

🚀 Learning Highlights

  • Real-time image classification
  • Vision + CoreML integration
  • Camera pipeline handling
  • Clean architecture implementation
  • SwiftUI reactive UI updates

📌 Author

Navin Rai
iOS Developer specializing in Swift, SwiftUI, UIKit, and CoreML.
Passionate about building scalable, production-ready iOS applications.

🔗 LinkedIn: https://www.linkedin.com/in/navinkumarrai
💻 GitHub: https://github.com/Navin-Rai-Developer