ricmatsui/remote-gesture
Image Classification • Updated
image imagewidth (px) 32 32 | label class label 10
classes |
|---|---|
8v | |
5counterCircle | |
6n | |
8v | |
7p | |
3right | |
6n | |
1down | |
2left | |
8v | |
8v | |
9^ | |
3right | |
8v | |
6n | |
0up | |
7p | |
7p | |
0up | |
8v | |
9^ | |
1down | |
6n | |
4circle | |
6n | |
2left | |
6n | |
4circle | |
2left | |
9^ | |
1down | |
4circle | |
9^ | |
0up | |
7p | |
7p | |
2left | |
4circle | |
8v | |
5counterCircle | |
1down | |
7p | |
5counterCircle | |
2left | |
4circle | |
9^ | |
1down | |
0up | |
8v | |
8v | |
8v | |
1down | |
3right | |
3right | |
2left | |
6n | |
4circle | |
5counterCircle | |
6n | |
2left | |
3right | |
1down | |
6n | |
9^ | |
4circle | |
9^ | |
7p | |
5counterCircle | |
0up | |
5counterCircle | |
0up | |
6n | |
5counterCircle | |
7p | |
5counterCircle | |
8v | |
8v | |
3right | |
3right | |
9^ | |
2left | |
5counterCircle | |
7p | |
7p | |
7p | |
5counterCircle | |
7p | |
5counterCircle | |
7p | |
6n | |
4circle | |
6n | |
3right | |
3right | |
5counterCircle | |
4circle | |
2left | |
5counterCircle | |
9^ | |
0up |
Single-stroke touch gestures for a television remote, captured on a phone and rasterised to 32×32 greyscale images. Ten classes: directional arrows, a circle and counter-circle for power on/off, letter shapes for app shortcuts, and caret/vee for home and back.
Understanding the rasterisation matters, because the images are not raw drawings and cannot be reproduced without it.
clientWidth / 100 from the previous one.lineWidth 2 and round caps and joins.hsl(0, 0%, 10%) at the start to
hsl(0, 0%, 90%) at the end. The greyscale gradient encodes stroke
direction. This is what makes circle and counterCircle separable in a
single static image, and it means the model is sensitive to stroke order,
not only to shape.[0, 1] at training time.Label order is significant and matches the model's output index:
up, down, left, right, circle, counterCircle, n, p, v, ^
A stratified 80/20 split, so both sides keep the class balance above. Training
augments only the train split, leaving test as un-augmented real
samples.
p) to 388 (^); training oversamples
each class to 10,000 with per-class augmentation.