Code Monkey home page Code Monkey logo

catgoesmeow14 / rock-paper-scissors-image-classifier Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 290 KB

This project involves developing a machine learning/deep learning model to classify images of hand gestures into one of three categories: Rock, Paper, or Scissors. The model is built using TensorFlow and Keras, leveraging Convolutional Neural Networks (CNNs) to understand and predict the gestures based on visual cues.

Jupyter Notebook 100.00%

rock-paper-scissors-image-classifier's Introduction

Rock-Paper-Scissors Image Classifier

This repository contains a TensorFlow-based deep learning project aimed at classifying images of hand gestures into three categories: Rock, Paper, or Scissors. Using Convolutional Neural Networks (CNNs) within the Keras API, the model is adept at recognizing and categorizing gestures from visual data.

Model Overview

  • Framework: TensorFlow 2.15.0
  • API: Keras
  • Model Architecture: Convolutional Neural Network (CNN)

Architecture Details:

  • Feature Extraction Layers: Conv2D layers with ReLU activation.
  • Downsampling Layers: MaxPooling2D layers.
  • Classification Layers: Dense layers with ReLU activation.
  • Regularization: Dropout layers and L2 regularization to mitigate overfitting.
  • Output Layer: Dense layer with Softmax activation for multi-class classification.

Dataset Information

  • Source: Dicoding Academy
  • Contents: Hand gesture images representing Rock, Paper, and Scissors.
  • Split:
    • Training set: 1,312 images
    • Validation set: 876 images

Model Performance

  • Optimization: Adam optimizer with a custom learning rate schedule.
  • Regularization Techniques: L2 regularization and Dropout.
  • Best Validation Loss: 0.26198
  • Best Validation Accuracy: 96.58%

Features

  • Data Augmentation: Implemented to introduce variability in the training dataset, enhancing model robustness.
  • Learning Rate Scheduling: Applied to optimize convergence rates.
  • Early Stopping and Model Checkpointing: Utilized to halt training at the optimal point and save the best model iteration, respectively.
  • Comprehensive Evaluation: Both training and validation metrics are extensively monitored to gauge model performance.

rock-paper-scissors-image-classifier's People

Contributors

catgoesmeow14 avatar

Watchers

 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.