Check out this fork of this repo for a more up to date version. This repo is going to be archived and unmaintained!
Showing a workaround to get get teachablemachine's tf.js models running in node and beeing able to post images with json feedback
- Run "npm install"
- Open "node_modules/@teachablemachine/image/dist/utils/canvas.js" and remove line 47-51 (the HTMLVideoElement check)
- Edit app.js and add your trained moddel at line 12
- Startup node with "node app.js"
- Post an image (For example using the post.bat, don't forgett to change it to the correct endpoint and the right image file)