As easy as I can make Loading Tensorflowjs KNN-Classifier Demo

Online demo of the very interesting KNN-Classifier Github in the TFJS-models repository

KNN-Classifier takes a Deep Learning model and uses K-Nearest-Neighbor analysis to it. So you can, from a website, live "Train" objects from the model and get results at the same time!
This time we are going to use face-api.js to run a 68 point face detection model then train the knn-classifier on people. Kind of fun to google celebrities for training then check out the rest of us. The KNN classifier will detect the closest celebrity.

I am looking into how to save the knn-classfier data with labels.





Train a few items with a group number and a text label


...



Analyse every milliseconds


...



...


...



This Github, ... this Github Website Version, ... this Hosted Website Version, ... Tensorflowjs

By Jeremy Ellis
Twitter@rocksetta
Website http://rocksetta.com
Use at your own risk!