Skip to content

Sobe uma api que classifica imagens e retorna a categoria, essa api usa as tecnologias TensorFlow JS e Teachablemachine

Notifications You must be signed in to change notification settings

malgany/api-classify-images

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

teachablemachine-node

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

Sobe uma api que classifica imagens e retorna a categoria, essa api usa as tecnologias TensorFlow JS e Teachablemachine

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published