:) Yes, that's actually totally possible. Compiling Tensorflow for MDBT42Q is as simple as adding TENSORFLOW to the board.py file and maybe taking out some other stuff (NET?) so it fits.
Tensorflow Lite for Microcontrollers has an example of speech recognition too. The only gotcha is that the speech recognition needs to have the input sound 'windowed' and an FFT performed on each window. There's code for doing that inside TF but it's not built into Espruino - so you'd have to add that to the build and then modify the existing code so you could call it.
But it's totally possible - and something I would have built in from the start if Bangle.js had a microphone :)
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
:) Yes, that's actually totally possible. Compiling Tensorflow for MDBT42Q is as simple as adding
TENSORFLOW
to theboard.py
file and maybe taking out some other stuff (NET?) so it fits.Tensorflow Lite for Microcontrollers has an example of speech recognition too. The only gotcha is that the speech recognition needs to have the input sound 'windowed' and an FFT performed on each window. There's code for doing that inside TF but it's not built into Espruino - so you'd have to add that to the build and then modify the existing code so you could call it.
But it's totally possible - and something I would have built in from the start if Bangle.js had a microphone :)