vue3-tfjs

This repo uses show how machine learning works directly in the web browser via TensorFlow.js to classify and detect common objects using the Object detection model (coco-ssd) from a live webcam stream. This is a sample vue 3 + vite project.

It actually gives the coordinates of the bounding box for each object which I was able to highlight using #canvas in the actual video stream.

Recommended IDE Setup

VSCode + Volar (and disable Vetur) + TypeScript Vue Plugin (Volar).

Customize configuration

See Vite Configuration Reference.

Project Setup

npm install

Compile and Hot-Reload for Development

npm run dev

Compile and Minify for Production

npm run build