Skip to content

Digit Recognizer is a simple Django application which can be used to recognize handwritten digits.

Notifications You must be signed in to change notification settings

altruistcoder/digit-recognition

Repository files navigation

DIGIT RECOGNIZER

Digit Recognizer is a simple Django application which can be used to recognize handwritten digits.

  • You can see the code for training the model in this notebook.

  • This repository also consists of already trained weights for this model which you can find here.

Instructions

  1. Get the source code on your pc via git.
  git clone https://github.com/altruistcoder/digit-recognition
  1. Create a virtual environment to install the required dependencies of the application.
  virtualenv venv
  1. Activate the virtual environment (You have to activate it every time you are working on project).
  For mac users:

    source venv/bin/activate  

  For windows users:

    .\venv\Scripts\activate

  For Linux users:

    source venv/bin/activate
  1. Now, install python dependencies.
  pip install -r requirements.txt
  1. Now, navigate to the src directory (containing the manage.py file).

  2. Run following command:

  python manage.py migrate
  python manage.py runserver
  1. Digit Recognizer is ready for use. You can run it at http://127.0.0.1:8000/.