Skip to content

Files

This branch is 73 commits behind tensorflow/tfjs-models:master.

demo

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Apr 21, 2021
Jan 21, 2021
Nov 15, 2018
Sep 11, 2018
Sep 11, 2018
Jul 3, 2020
Jan 21, 2021
Dec 20, 2023
Nov 15, 2018
Aug 22, 2023

Object Detection (COCO-SSD) Demo

This demo allows you to try out object detection on a couple of preset images using different base models.

Setup

cd into the demo/ folder:

cd coco-ssd/demo

Install dependencies:

yarn

Build the coco-ssd model locally which the demo depends on:

yarn build-deps

Launch a development server, and watch files for changes. This command will also automatically open the demo app in your browser.

yarn watch

If you are developing the model locally and want to test the changes in the demo

cd into the coco-ssd/demo folder:

cd coco-ssd/demo

Rebuild coco-ssd locally:

yarn build-deps

Start the dev demo server:

yarn watch

To get future updates from the coco-ssd source code, just run yarn build-deps in the coco-ssd/demo folder again.