Skip to content

RyanGarfinkel/DigitRecognizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview

The goal of this project is to train a convolutional neural network (CNN) to accruatelty recognize handwritten digits. The model created is trained on 28x28 images from the MNIST dataset, obtained from the Keras library.

Demo

Demo of Digit Recognizer

Setup

  1. Clone the repository.
  2. Create a virtual environment in the project directory using the following command:
    python -m venv myenv
  3. Activate the virtual environment.
  4. Install the required dependencies with the following command:
    pip install -r requirements.txt

Usage

  1. Open the Jupyter Notebook model.ipynb.
  2. Run all cells in the notebook to train the model. The model is saved as model.keras in the last cell.
  3. Run the Pygame app to use the model live using the following command:
    python app.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors