Downloads · 30 days
44
100% of all-time downloads
PowerPotato/PowerPotato-Gesture-10KB
PowerPotato-Gesture-10KB is a tabular classification model from PowerPotato. Use it for the tabular classification task on the model card, and read the license before you ship it in a product. The card lists the license as mit.
"Trained in 2 minutes inside Termux on a mobile CPU. Fits on a floppy disk. Controls YouTube Shorts with wrist flicks so you can eat greasy pizza in peace." 🍕📱✨
Downloads · 30 days
44
100% of all-time downloads
All-time downloads
44
Public
Repo size
19.4 KB
Likes
1
Public
Click a slice to open those files.
.pth10.2 KB · 36%
From the Hugging Face model README
"Trained in 2 minutes inside Termux on a mobile CPU. Fits on a floppy disk. Controls YouTube Shorts with wrist flicks so you can eat greasy pizza in peace." 🍕📱✨
| 📱 Movement | 🎯 Mapped Action |
|---|---|
| Flick Down ⬇️ | Next Video / Scroll Down |
| Flick Up ⬆️ | Previous Video / Scroll Up |
| Wrist Twist 🔄 | Double-Tap Like (Heart ❤️) |
| Back Knock ✊ | Pause / Play ⏸️ |
| Normal Idle 🚶♂️ | Ignored (Zero false alarms!) |
A custom, microscopic 1D-CNN (Convolutional Neural Network) trained on 30 resampled timesteps of 3-axis accelerometer data (Ax, Ay, Az).
[1, 3, 30] (Batch, 3 channels, 30 timesteps)[1, 5] (Class probabilities)import * as ort from 'onnxruntime-web';
// 1. Load the tiny model
const session = await ort.InferenceSession.create('gesture_model.onnx');
// 2. Feed rolling 30-sample accelerometer buffer [1, 3, 30]
const inputTensor = new ort.Tensor('float32', flatFloat32Array90, [1, 3, 30]);
const results = await session.run({ accel_input: inputTensor });
console.log("Prediction output:", results.probabilities.data);