Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/yehiashaarawy/image-classification-of-rock-paper-scissors-using-convolutional-neural-network

CNN model to classify hand gesture images of rock, paper, and scissors with the help of Tensorflow and Keras packages.
https://github.com/yehiashaarawy/image-classification-of-rock-paper-scissors-using-convolutional-neural-network

cnn-classification keras python rock-paper-scissors tensorflow

Last synced: 26 days ago
JSON representation

CNN model to classify hand gesture images of rock, paper, and scissors with the help of Tensorflow and Keras packages.

Awesome Lists containing this project

README

        

# Image Classification of Rock-Paper-Scissors using Convolutional Neural Network

## Dataset
Dataset used : https://www.kaggle.com/datasets/drgfreeman/rockpaperscissors?select=README_rpc-cv-images.txt

The dataset contains a total of 2188 images with 300 x 200 pixels, that
correspond to the hand gestures of the Rock-Paper-Scissors game: ‘Rock’ (726
images), ‘Paper’ (710 images), and ‘Scissors’ (752 images). Here are few images
taken from the dataset:

Picture3
Picture2
Picture1

## Evaluation Metrics
Picture4
Picture5

The result above shows that the accuracy is increasing steadily while the loss is also reducing, for both train and validation dataset.

Picture6

Next we evaluate the validation data and we got 97% accuracy, which is pretty high. We can test it by uploading new images and let the model predicts whether it is a paper, rock, or scissors gesture.