Skip to content

kherrick/tfjs-component-playground

Folders and files

NameName
Last commit message
Last commit date

Latest commit

0ed4158 · Dec 9, 2020

History

7 Commits
Mar 8, 2020
Mar 4, 2020
Mar 4, 2020
Mar 4, 2020
Dec 9, 2020
Mar 4, 2020
Mar 4, 2020
Mar 4, 2020
Mar 4, 2020
Mar 4, 2020
Mar 4, 2020
Mar 4, 2020
Mar 4, 2020
Mar 8, 2020
Mar 4, 2020
Mar 4, 2020
Mar 4, 2020
Dec 9, 2020
Mar 4, 2020
Mar 4, 2020

Repository files navigation

About

<tfjs-component-playground> is made primarily using LitElement and the Web Components:

It utilizes redux for routing and central state management, as well as TensorFlow.js with a WebAssembly backend. The mobilenet model from Google is used for the classification of images from a camera, images from the web, or by dragging and dropping files into the drop zone. The blazeface model is used for face identification with a camera, using urls of images from the web, or by dragging and dropping files into the drop zone. Similarly, the coco-ssd model is used for object identification with a camera, using urls of images from the web, and by dragging and dropping files into the drop zone.

All image classification, object, and facial detection is completed client-side.

Development

Clone the project

git clone https://github.com/kherrick/tfjs-component-playground.git \
  && cd tfjs-component-playground \
  && npm i \
  && npm start

Load the site in a browser @ localhost:8000/dev/