Handwriting Legibility Scoring

PyTorch CNN Fine-Tuning

Demo

Draw a digit (0-9) or load a sample, then score how legible it is.

  • Pick a sample from “Daniel’s Handwritten Numbers”, or draw a digit on the canvas.
  • Click “Rate digit” to submit.
  • Use the eraser to clear the canvas and try another digit.
  • Review the predicted digit, confidence, and legibility score breakdown.

STAR Summary

  • Built three digit-recognition models, moving from a simple baseline to a CNN.
  • Trained on MNIST (60,000 digits) and selected the best model.
  • Deployed it behind a serverless scoring API for the live demo.
  • The best model reached ~99% test accuracy on MNIST (see notebook).
  • On a small personal handwriting set, accuracy was ~75.6% (not a benchmark; see notebook).
  • My wife was right.

Notes

MNIST is the training baseline; the personal handwriting scores are a domain-shift check, not a full handwriting benchmark.

Other Projects