Skip to content

A deep learning approach to classify alphabets of the American Sign Language

Notifications You must be signed in to change notification settings

HarshSulakhe/ASL-Recognition

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

ASL-Prediction

A deep learning approach to classify alphabets of the American Sign Language using transfer learning

Dependencies

  • fastai 1.0.61
  • Python 3.7.6

Dataset

Sign Language MNIST on Kaggle
The data was in the form of a csv file with each column containing the pixel value of each image. I first converted these pixel values and stored them locally as images so it would be easier to create a DataBunch using the fastai library. The script that I used to do the same is images.py

Approach

  • Used transfer learning with and without finetuning for both resnet architectures (ResNet50 and ResNet34).
  • Data augmentation was done using fastai's get_transforms() method with no vertical flipping and a reduction to the default max_rotate parameter.
  • The models were first trained without finetuning on 8 cycles with max_lr = slice(1e-3). The model layers were then unfrozen and trained on 5 further cycles with the same learning rate.

Results

Resnet50

  • Without finetuning:
    Validation Accuracy = 87.41%
    top-5 Accuracy = 99.62%
  • With finetuning:
    Validation Accuracy = 99.27%
    top-5 Accuracy = 100%

Resnet34

  • Without finetuning:
    Validation Accuracy = 83.79%
    top-5 Accuracy = 99.12%
  • With finetuning:
    Validation Accuracy = 99.90%
    top-5 Accuracy = 100%

To-Do

  • Try integrating an OpenCV window to perform real time tracking

Releases

No releases published

Packages

No packages published