cloud-annotations / object-detection-react

⚛️ Real-Time Custom Object Detection with TensorFlow.js
MIT License
255 stars 108 forks source link

Object Detection React App

You can find an in depth walkthrough for training a TensorFlow.js model here.

Setup

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.

Add TensorFlow.js Model to the App

Copy the model_web directory generated from the object detection walkthrough and paste it into the public folder of this repo.

Run the App

npm start

Open http://localhost:3000 to view it in the browser.