MNIST Playground
Real-Time Digit Recognition
A neural network trained from scratch in Java to classify digits 0-9. Draw on the canvass,
follow the preprocessing pipeline, and see how the model responds instantly in your browser.
Usage at a glance
Sketch a digit directly in the 400×400 canvas (mouse or touch), then press
“Run inference” to route it through the same preprocessing steps used during training.
Watch the prediction, confidence and top-5 classes update instantly; hit “Clear” whenever
you want to iterate and test new strokes.