If camera-based control is paused for, say, a minute, and the app window is not visible (i.e. it's minimized or occluded), stop head tracking, as it's somewhat computation-intensive, and close the camera video stream, allowing other applications to use the camera.
If camera-based control is paused for, say, a minute, and the app window is not visible (i.e. it's minimized or occluded), stop head tracking, as it's somewhat computation-intensive, and close the camera video stream, allowing other applications to use the camera.