Tensorflow on MDBT42Q ?

Posted on
  • My knowledge about TensorFlow (see Bangle.js) is close to 0. Before I invest time in that, I would like to get an idea from the expert whether my idea would be possible at all.
    Could we implement tensor flow for the MDBT42Q board to get speech recognition?
    For the beginning 18 words from standard (18w) would be fine. If we could have or train an additional start word (like Gordon or Espruino for example), life could be wonderful.

  • :) 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 :)

  • Post a reply
    • Bold
    • Italics
    • Link
    • Image
    • List
    • Quote
    • code
    • Preview

Tensorflow on MDBT42Q ?

Posted by Avatar for JumJum @JumJum