Skip to content

Using Generative adversarial network(GAN) to generate scribbles of 7 objects and CNN, MLP Classifiers for correct prediction of scribbles

Notifications You must be signed in to change notification settings

Shubhammalik/GAN-Generated-Scribble-Predicition

Repository files navigation

Scribble-generation-using-GAN

Models - CNN, MLP, GAN, RF

This project aims at predicting scribbles from canvas and also using GAN generated images.

Idea was inspired from Kaggle's competition - https://www.kaggle.com/c/quickdraw-doodle-recognition/overview

Overview

  • Trained a GAN model on few categories of objects from Quick Draw dataset. Save generated images in directory.(scribble_generation_gan.py)

  • Created script to download the data directly from the quick draw dataset website using download_data.py.

  • Built a training model using a ConvNet and MLP Model train.py.

  • Developed prediction model server.py which takes input from either canvas (from webapp) or GAN category dropdown (use saved images) and classify the scribbles among 7 categories.

  • Presented the results on webapplication.

Tech Stack

  1. ML Libraries - Tensorflow, Keras, Scipy, Python
  2. Webapp - Electron JS, HTML, JQuery and Flask App.

NOTE: This project works in Tensorflow 2.x with v1 compatibility.

Images WebApp and model

Web Application Web app

British Columbia Artificial Intelligence Showcase Poster BC AI Poster

GAN Generated sample GAN sample

GAN Loss GAN Loss

About

Using Generative adversarial network(GAN) to generate scribbles of 7 objects and CNN, MLP Classifiers for correct prediction of scribbles

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published