Skip to content

1998apoorvmalik/teachable-image-classifier

Repository files navigation

Teachable Image Classifier

Introduction

Inspired by Google’s teachable machine (link), I created my own version of this project. You can train almost any Deep Learning model visually by selecting images from your computer, naming the classes and fine tuning model & training parameters. The frontend is created with the Flutter framework, and backend with Python (Tensorflow, Flask, Socket IO). This project is still in development stages, please excuse any performance issues or bugs.

In this example, the model is being trained on 6 different animal classes, each with 250 samples. After the training is done, a different image is loaded and the model predicts the correct label.

ezgif com-gif-maker

The model successfully predicts the correct label as shown below (Cow in this example).

Screenshot 2022-01-10 at 5 07 17 AM

Find the full resolution demo video link here

Getting Started

First Clone this repository. To run this project, you must have both flutter and anaconda installed.

Now copy & paste this code in your terminal to create a new conda environment, install all the required dependencies, and finally to start the backend.

cd teachable_image_classifier
conda env create -f environment.yml
conda activate teachable-image-classifier
python backend/app.py

You can now build the flutter app for Desktop/MacOS/Linux.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published