This example uses clmtracker along with p5.js and p5.dom.js. Make sure you have version 0.1.5 or higher of p5.dom.js - you can grab it here.
You will need to run this with a local server, see this tutorial for help.
- https://github.com/auduno/clmtrackr - download of clmtrackr.js and models.
- http://p5js.org - download of p5.js and p5.dom.js.
Or download an example here.
If anyone ended up here in 2020 (like me), this fork has a few updated lines to work with the latest p5 and clm.
Thanks!