← All Projects
🧠 ai

Handwritten Digit Classifier

Draw your own digits, train a CNN to recognize them, and test live predictions in real time.

Python DesktopMachine LearningPyTorchAI

// Screenshots

Handwritten Digit Classifier screenshot 1
Handwritten Digit Classifier screenshot 2
Handwritten Digit Classifier screenshot 3

// Why This Exists

$ Started with just simple tick/cross detection, then thought: If I can classify ticks and crosses, I can classify digits as well, so why not?

// About

A beginner-friendly deep learning project that lets users draw handwritten digits (0-9), create a dataset, train a custom Convolutional Neural Network (DigitNet) using PyTorch, evaluate model performance with accuracy metrics and a confusion matrix, and test the trained model live. Includes tools for data generation and interactive prediction.

// Highlights

  • › Custom CNN (DigitNet)
  • › Live interactive digit prediction
  • › Confusion matrix evaluation
✉ Contact