LAB · SKETCH RECOGNITION · RUST + BURN
Ready

Digit Classifier

Draw in the pad below to run real-time separable CNN inference on auto-centered 28×28 strokes.

01 · Live Sketch Inference Instrument SEPARABLE CNN · ~110 KB
Interactive Sketch Pad READY
DRAW WITH MOUSE OR TOUCH AUTO-CENTER → 28×28
Awaiting Drawing
Top-3 Softmax Confidence
—
0.0%
—
0.0%
—
0.0%
Supported Categories
02 · Pipeline Architecture
Depthwise Separable CNN

Compact Residual Classifier

Three residual SeparableConv2d stages (24 → 48 → 96) with BatchNorm and Global Average Pooling pack high accuracy into ~110 KB weights.

Live 28×28 Preprocessing

Bounding-Box Auto-Centering

Extracts drawn pixels on every pointer move, pads by 15% to match dataset framing, and downsamples cleanly to 28×28 grayscale.

Rust + WebAssembly

Sub-Millisecond Browser Inference

Shared model_shared Burn crate compiles directly to WASM (NdArray) for instant local prediction or server-backed Axum /predict.

03 · Telemetry Log & Burn Backend Console Model Version: loading...
Scaled Model Input
Centered 28×28 grayscale · QuickDraw uses [0.0..1.0]
System status: Operational.