Skip to content
This repository has been archived by the owner on Dec 8, 2020. It is now read-only.

Showing a workaround to get get teachablemachine tf.js models running in node and beeing able to post images

Notifications You must be signed in to change notification settings

tr7zw/teachablemachine-node-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Check out this fork of this repo for a more up to date version. This repo is going to be archived and unmaintained!

teachablemachine-node-example

Showing a workaround to get get teachablemachine's tf.js models running in node and beeing able to post images with json feedback

Setup

  1. Run "npm install"
  2. Open "node_modules/@teachablemachine/image/dist/utils/canvas.js" and remove line 47-51 (the HTMLVideoElement check)
  3. Edit app.js and add your trained moddel at line 12
  4. Startup node with "node app.js"
  5. Post an image (For example using the post.bat, don't forgett to change it to the correct endpoint and the right image file)

About

Showing a workaround to get get teachablemachine tf.js models running in node and beeing able to post images

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published