An open API service indexing awesome lists of open source software.

https://github.com/yining1023/posenet-knn

posenet + knn in tf.js
https://github.com/yining1023/posenet-knn

Last synced: 3 months ago
JSON representation

posenet + knn in tf.js

Awesome Lists containing this project

README

          

# Posenet + KNN Image Classifier Demo

Check it out here: https://yining1023.github.io/posenet-knn/

The camera demo shows how to create a custom classifier with 3 classes that can be trained in realtime using a webcamera on pose data. 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 project folder:

Install dependencies and prepare the build directory:

```sh
yarn
```

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

```sh
yarn watch
```