prakhar134 / clean-or-messy

The project attempts to classify a given image as clean or messy.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Clean vs Messy Classifier

The project attempts to classify a given image as clean or messy. This is an exploratory project wherein we tried to explore various approaches for training and deploying a Machine Learning based binary classification model to be used by an end-user.

Blog post with more details:

Clean vs Messy Classifier

Usage Instructions:

We used the following approaches to deploy the project:

Demo :

React Web app - Click Here

cleanvsmessy
Streamlit Web app - Click Here

cleanvsmessy

Data Scraping :

  • The data for this project was Scrapped from google Images using Selenium and Python. Check out the Scrapper readme for details regarding implementation.
  • Also used a publicly available kaggle dataset

Model Training :

We trained a binary classification model in Keras and Fastai and then ported Keras model to tfjs, tflite and coreml. The jupyter notebooks are present here.

Deployment :

The model is deployed using three major approaches :

  • Web App - The web-app based on Flask REST API and frontend using React.
  • Web App with offline model - The web app based on the tensorflow js for offline classification.
  • Web App - The web app based on Streamlit framework.

The apps were deployed on HEROKU. Heroku deployment instructions are available here.

Authored By:

About

The project attempts to classify a given image as clean or messy.

License:MIT License


Languages

Language:Jupyter Notebook 99.4%Language:Python 0.3%Language:JavaScript 0.2%Language:HTML 0.0%Language:CSS 0.0%Language:Shell 0.0%