Skip to content

RastkoD/Mongrel_Classifier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mongrel Classifier 🐶

A machine learning-powered web application built with React and TensorFlow.js that predicts dog breeds from user-uploaded images.
The project focuses on client-side ML inference, interactive UI, and a smooth, user-friendly classification workflow.


🧠 Project Focus

  • Browser-based machine learning inference
  • Image classification using pre-trained neural networks
  • Interactive, real-time user feedback
  • Performance-conscious client-side processing
  • Clean, modern React application architecture

🛠️ Tech Stack

  • React (Vite)
  • JavaScript (ES6+)
  • TensorFlow.js
  • MobileNet (pre-trained model)

✨ Key Features

  • Upload images to classify dog breeds
  • Real-time inference using TensorFlow.js in the browser
  • Confidence-based prediction results
  • Breed search and discovery flow
  • Reset and reclassification workflow
  • Responsive, user-friendly interface
  • Lightweight, client-side execution (no backend dependency)

🧩 Implementation Highlights

  • Client-side ML inference with MobileNet
  • Image preprocessing and model input optimization
  • React state-driven UI updates and result rendering
  • Probabilistic result ranking and display
  • Modular component structure for maintainability
  • Optimized loading flow for model initialization and inference performance

🖼️ Example Classification Output

Mongrel Classifier Results Preview

Deployed via Netlify.


📁 Repository Purpose

This repository represents an experimental machine learning web app, showcasing TensorFlow.js integration, client-side AI workflows, and interactive React-based UI development.
It demonstrates practical ML-in-the-browser implementation without requiring a backend server.


🧪 Running Locally

The app performs inference entirely in the browser — no backend required. Clone the repository and install dependencies:

npm install
npm run dev

About

A React-based machine learning web app that uses TensorFlow.js and MobileNet to classify dog breeds from uploaded images.

Topics

Resources

Stars

Watchers

Forks

Contributors