The challenge
I wanted to build a beginner-friendly machine learning project that went beyond training a common MNIST model by turning it into a usable app with real-time drawing input.
What I built
I trained a convolutional neural network in PyTorch on MNIST, saved the trained model, and built a Gradio interface where users can draw a digit. The app preprocesses the drawing by converting it to grayscale, inverting it, cropping and centering the digit, resizing it to 28x28, and normalizing it before sending it into the model.
My role
I built the training pipeline, model architecture, saved-model loading flow, preprocessing pipeline, Gradio interface, and GitHub-ready project structure.
The result
Completed a working machine learning demo that predicts single handwritten digits and displays the model confidence scores along with the processed 28x28 image the model receives.
