You can find an in depth walkthrough for training a TensorFlow.js model here.
git clone
the repo and cd
into it by running the following command:
git clone https://github.com/cloud-annotations/object-detection-react.git
cd object-detection-react
npm install
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.
Copy the model_web
directory generated from the object detection walkthrough and paste it into the public
folder of this repo.
npm start
Open http://localhost:3000 to view it in the browser.