git clone
the repo and cd
into it by running the following command:
git clone https://github.com/cloud-annotations/object-detection-live-stream.git
cd object-detection-live-stream
Note: You’ll need to have Node 8.10.0 or later on your local development machine. You can use nvm (macOS/Linux) or nvm-windows to easily switch Node versions between different projects.
Open http://localhost:3000 to view it in the browser.
You can find an in depth walkthrough for training a TensorFlow.js model here.
Once trained, copy the generated model_web
directory and paste it into the public
folder of this repo.