We can use the cascade object detector to track a face across successive
% video frames. However, when the face tilts or the person turns their
% head, you may lose tracking. This limitation is due to the type of
% trained classification model used for detection. To avoid this issue, and
% because performing face detection for every video frame is
% computationally intensive, this example uses a simple facial feature for
% tracking.