Skip to content

Latest commit

 

History

History
33 lines (21 loc) · 579 Bytes

README.md

File metadata and controls

33 lines (21 loc) · 579 Bytes

KNN Image Classifier Demo

Contents

Demo: Camera

The camera demo shows how to create a custom classifier with 3 classes that can be trained in realtime using a webcamera. Hold down the train button to add samples to the classifier, and then let it predict which of the 3 classes that is closest.

Setup

cd into the demo folder:

cd knn-classifier/demo

Install dependencies and prepare the build directory:

yarn

Build linked dependencies:

yarn build-deps

To watch files for changes, and launch a dev server:

yarn watch