Skip to content

Navin-Rai-Developer/LeafLens

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

10 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸƒ 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

About

A SwiftUI-based iOS app that scans objects, matches them with known data, and saves match results.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages