GithubHelp home page GithubHelp logo

bibychacko / asl_alphabet_classifier Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cclin130/asl_alphabet_classifier

0.0 1.0 0.0 1.01 GB

Final project for MAIS 202 bootcamp // classifier for ASL alphabet hand gestures

Python 87.22% HTML 3.78% CSS 2.68% JavaScript 6.32%

asl_alphabet_classifier's Introduction

ASL_alphabet_classifier

Final project for McGill AI Society Intro to ML Bootcamp (Winter 2019).

Training data retrieved from Kaggle.

Project description

This ASL Alphabet Classifier project is a web app that classifies American Sign Language gestures contained in an input image. I built the classification model using Pytorch and the web app's backend using Flask. Furthermore, I retrieved training data from Kaggle, performed data augmentation with OpenCV and torchvision, and utilized a vgg-11 CNN architecture.

Running the app

To run the web app, install all packages in requirements.txt. Then, change into the main directory of this repository and run

python web_app.py

Lastly, open a browser and navigate to your http://localhost:5000.

Repository organization

This repository contains the scripts used to both train the model and build the web app.

  1. deliverables/
    • deliverables submitted to the MAIS Intro to ML Bootcamp organizers
  2. model/
    • Data, final model (results), and Python scripts used to train the VGG model (I also attempted an SVM; the scripts for that are in this folder too)
    • CNN_vgg_gpu.py contains the Pytorch Dataloader class used for training
    • get_confusion_matrix.py loads the trained model and tests its performance on the validation set and personal photos
    • train_CNN_gpu.py is a script to train the model on Microsoft Azure's DSVM (with cuda enabled)
  3. static/
    • CSS and javascript files for landing page
  4. templates/
    • HTML template for landing page
  5. predictor.py
    • python class to store model and its methods for web app
  6. web_app.py
    • main python script to instantiate Flask server

asl_alphabet_classifier's People

Contributors

cclin130 avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.