Computer Science ProjectBack to CS
PyTorch · CNN · MNIST

Handwritten Digit Recognition

A compact convolutional neural network trained locally on 60,000 MNIST images. Draw a digit below; inference is provided by the completed local Flask service.

28×28 grayscale inputTwo convolution blocks10 output classes

Drawing canvas

Prediction

Draw a digit to begin.

Run the model locally

GitHub Pages hosts the interface but cannot run Python. Start server.py locally to enable the trained model; this page will connect to 127.0.0.1:5000.