Tracking the movements and orientation of your head with a webcam allows your program to accept commands or change viewpoints through direct interaction with you. You can use open-source software to ...
The TrueDepth camera on the iPhone X is what makes FaceID and Animoji possible. But a brilliant intern at eBay used to tech to create head-tracking software that can be used to control the iPhone.