Implement Head gesture recognition