-
Clone this repo:
git clone https://github.com/COMPSYS-302-2021/project-1-team-39.git
-
Change directory into the cloned repo:
cd project-1-team-39
-
Use the Python module pip to install project dependencies:
pip install -r requirements.txt
-- or --
python -m pip install -r requirements.txt
-
Change into the source code directory:
cd PythonProject
-
Run the program using python:
python main.py
-
Select a model from the "Model Select" option
-
If this is the first time running the application: File>Train Model, and from here download the MNIST dataset and train the model once the data has been downloaded. If data has been downloaded and model has been trained previously "Load Model Cache" can be selected to avoid training times
-
On the main page draw a number from 0-9 within the black canvas and afterwards select the "Recognise" for the program to predict the drawn number
-
To repeat Step 3, select "Clear" to empty the canvas
PythonProject/
contains the source codePythonProject/DesignFiles/
contains the Qt Designer project files. The files in this folder where the inital starting points for all GUI pages, but their output was greatly modified by hand, and they do not represent the current state of the GUI.PythonProject/Model_Cache/
this is the directory where the mode's cache goes after training. It is empty in the git repo.PythonProject/mnist_data/
is not present in the repo, but it is created whren the MNIST dataset is downloaded from the application