Skip to content
No description, website, or topics provided.
JavaScript HTML Makefile
Branch: master
Clone or download
Latest commit d2319e5 Aug 14, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
gif Added gifs Aug 13, 2019
Makefile Added Makefile Aug 7, 2019
README.md
detect.js Fixed for Safari Aug 14, 2019
index.html

README.md

In-browser real-time object detection with TensorFlow.js and React

This repo contains the code needed to build an object detection web app using TensorFlow.js and React. The app, uses the computer's webcam stream to perform real-time object detections in every frame it receives.

The model

The model featured in the app, is a pre-trained COCO SSD system.

Requirements

Only a browser and a local web server.

Instructions

To launch the web app, go to the root directory of the app, and launch a web server. An easy way to create a one is with Python, using the following command $ python3 -m http.server or $ python -m SimpleHTTPServer if you're using Python 2.

Once the server is up and running, open your browser, and go to http://localhost:8000/, and you'll be greeted by a prompt window requesting permission to access the webcam. Upon accepting said request, wait a bit until the model is downloaded and voila, rejoice with the glory of out-of-the-box deep learning. Have fun!

Tutorial

For a complete tutorial, and a theory lesson about the model and what's under the hood, please refer to the following link: ...

This is the app in action.

You can’t perform that action at this time.