adriagil / tfjs-vue-example

Demo application made with Vue.js for using a custom trained Tensorflow graph model inside the browser
6 stars 2 forks source link

tfjs-vue-example

This is a demo application that uses Vue.js and a webcam to detect Jagermeister bottles in video and/or images. Code adapted to fit the requirements from the following project: tfjs-coco-ssd-vue-example

Demo screenshot

demo-image1

Project setup

npm install

Compiles and hot-reloads for development

npm run serve

Compiles and minifies for production

npm run build

Serving custom model

Is important to copy your trained model into a folder called "web_model" in the root directory and then run:

node_modules/http-server/bin/http-server -c1 --cors .

App url (in local dev server)

http://localhost:8080/

References