This is a head tracking system similar to eViacam, using Lucas–Kanade optical flow to track points for high accuracy, and face detection for understanding of where to place tracking points. It uses two different face detectors, a fast-to-load one and a slower to load but much more accurate one, which it switches to automatically when available.
Open source on GitHub. MIT-licensed.