Yes, it is possible to run Tensorflow on the Puck, but you'll have to build your own firmware.
By default the Puck contains a networking stack so you can connect it to the internet with WiFi/GSM/etc and that uses up enough space that you can't have that and Tensorflow installed.
Otherwise you could hard-code some gesture recognition by looking at the values in the accel event. Detecting big changes in acceleration in each axis (eg big +X to big -X) would be a good start I reckon.
There's also the gyro, which could be good for detecting twistsing motion
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, it is possible to run Tensorflow on the Puck, but you'll have to build your own firmware.
By default the Puck contains a networking stack so you can connect it to the internet with WiFi/GSM/etc and that uses up enough space that you can't have that and Tensorflow installed.
But compiling your own firmware is pretty straightforward - use the instructions on https://github.com/espruino/Espruino then edit https://github.com/espruino/Espruino/blob/master/boards/PUCKJS.py and replace:
with
and you're good to go.
Otherwise you could hard-code some gesture recognition by looking at the values in the
accel
event. Detecting big changes in acceleration in each axis (eg big +X to big -X) would be a good start I reckon.There's also the gyro, which could be good for detecting twistsing motion