This demo runs smoother in Chrome.

What you just experienced is a demo for a consulting project where I trained a model to detect nods. The model was created and trained in Pytorch and then ported to Deeplearn.js to run in the browser.

The green bar is the probability of a nod as inferred by the model. When the bar extends past the black notch, we can be fairly certain that we have had a nod.

There is a slight (~2s) delay between a nod and its detection.

More details to come …