Fast AI models on Espruino? #7679
Replies: 2 comments 1 reply
-
Well I've created a couple of tutorials where I'm using Edge Impulse to create ML-models that are then deployed as Tensorflow Lite to Bangle. These tutorials are for classifying gestures and fitness activities. |
Beta Was this translation helpful? Give feedback.
-
My work on getting running speed from a Puck.js accelerometer/gyro/magneto attached to a shoe, connected via bluetooth to a Bangle.js 2 is going very slowly, but an idea that I had, which I havn't implemented, would be to take in accel/gyro/magneto data, split it into intervals corresponding to steps, and then using an algorithm to measure the length of the step. The simplest would be to integrate the data twice, the most complicated would be to use some fancy ML-models to get a number from the data. Could a model do something like this? In order to train the model, I should be able to generate data along with known speed, either using a reliable gps device in very clear conditions, or on a running track. |
Beta Was this translation helpful? Give feedback.
-
Someone just showed me a really interesting project called ML4F - this basically allows you to compile a Tensorflow AI model down to native ARM Thumb assembly code.
So in theory you could:
... and that's something that could pretty much be built into a website. BBC Micro:bit appears to have already done it for accelerometer data: https://createai.microbit.org/
On Bangle.js we do have Tensorflow built in, but I don't think anyone is actually using that at the moment (and we don't have the space to build it into other boards by default). It's not that fast either.
Is there any interest in this? I can't imagine that many use-cases at the moment, but being able to speak commands to something like a Jolt.js and have it turn stuff on or off would be pretty cool.
Beta Was this translation helpful? Give feedback.
All reactions