ML project · Sketch recognizer

Draw it.
I'll guess it.

A convolutional neural network trained on 180,000 doodles. It runs entirely in your browser and guesses while you draw.

Draw something herea cat, a bicycle, a house…

Waking up the neural network…

The model thinks
…Waiting for your drawing.

What the model sees. Your drawing is cropped, centred and shrunk to 28 × 28 pixels, exactly like the doodles it learned from.

96.2%accuracy on unseen doodles
72.9%simple baseline, for comparison
180ktraining drawings
2.3 MBruns in your browser
01 · Data

Real doodles

15,000 drawings for each of 15 categories from Google's Quick, Draw!, made by real people in under 20 seconds each.

02 · Model

A small CNN

Three convolution blocks learn strokes, then curves, then parts like ears and wheels. Trained in PyTorch on a GPU with random tilts, shifts and zooms.

03 · In your browser

No server

The network is exported to ONNX and run by ONNX Runtime Web. Your drawing never leaves your device.