analysis of head position in video