Harry Potter Spells 🧙🏼 🎩
- Wand Microbit :
- Send accelerometer reading via bluetooth.
- Display the icon on LED based on received signals.
- Laptop Microbit :
- Send received signals via serial port to Wekinator (pyscript).
- Send classified prediction (spell) to display in wand.
Just stream accelerometer readings speedup using Ben's hack.
We used DTW for training our examples over three classes. In order to avoid confusion, all the three gestures have a varied start point, involves different motion and direction.
We tested out two versions of DTW:
- Matches computed only after running stops : Even though this method did really well, it was painful to stop and start the running everytime at the end of the spell.
- Matches computed continuously while running: This started to working better when we started to play with the thresholds and find optimal values through stochastic testing.
- Insted of sending x,y,z (accelerometer) reading continuously, we could have done something like dx,dy,dz and found some interesting patterns.