Skip to content

This project is an image classification application using Tensorflow and Keras. This dataset contains images of hand gestures from the game Rock-Paper-Scissors. In this project I created a machine learning model using the Convolution Neural Network from Tensorflow to classify Rock-Paper-Scissors data.

Notifications You must be signed in to change notification settings

insancs/rock-paper-scissors-classifier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Rock-Paper-Scissors Classifier

Overview

This project is an image classification application using Tensorflow and Keras. This dataset contains images of hand gestures from the game Rock-Paper-Scissors. In this project I created a machine learning model using the Convolution Neural Network from Tensorflow to classify Rock-Paper-Scissors data.

Dataset

The data set for this project was obtained from GoogleAPIs, in this and this. You can also get it from Kaggle. Rock Paper Scissors contains images from a variety of different hands, from different races, ages and genders, posed into Rock / Paper or Scissors and labelled as such. These images have all been generated using CGI techniques as an experiment in determining if a CGI-based dataset can be used for classification against real images. Rock Paper Scissors is a dataset containing 2,892 images of diverse hands in Rock/Paper/Scissors poses. There are 2520 images in the training set; and 372 images in the test set.

Note that all of this data is posed against a white background. Each image is 300×300 pixels in 24-bit color

Work Steps

  1. Import libraries
  2. Download and extract file
  3. Storing training and validation data sets into variables
  4. Data pre-processing using image augmentation
  5. Prepare train data
  6. Building a model architecture with CNN
  7. Create Callbacks
  8. Model Evaluate
  9. Plotting accuracy and loss
  10. Predict image

Model SUmmary

model summary

Model Evaluate

We achieved 97,66% accuracy on training set and 97,85% accuracy on validation set. acc_train acc_val

Visualize Accuracy and Loss

training and loss metrics

Predict Model

About

This project is an image classification application using Tensorflow and Keras. This dataset contains images of hand gestures from the game Rock-Paper-Scissors. In this project I created a machine learning model using the Convolution Neural Network from Tensorflow to classify Rock-Paper-Scissors data.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published