7 DigitNet from scratch
Bonus feature

Draw in the air —
the line stays on camera.

Pinch your thumb and index finger together and your line is drawn right on the camera view, following your hand. Separate your fingers to lift the pen. Make a fist to wipe everything clean.

Camera — draw here

Camera not started yet

Model prediction

–
Prediction appears here
What the model sees

Watch the network think — live activations

Five gestures, that is all

Everything happens on the camera view itself.

1

Pinch to draw

Touch thumb tip to index fingertip — the pen goes down and your line appears on the camera.

2

Separate to lift

Open the pinch and drawing stops instantly. Nothing is tracked until you pinch again.

3

Peace to undo

Hold up two fingers (index and middle) for a moment — the last stroke disappears.

4

Palm to lock

Show an open palm and hold it — the prediction freezes. Show it again to unlock.

5

Fist to clear

Close your hand into a fist and hold it — the whole drawing wipes clean.