Fig. 2

Automatic coding and validation. The algorithm automatically encodes, from detected features, as marked in the figure (top), both the head position and the emotion while the child is watching clinically informed movies. From these we can infer their attention, social referencing, and emotional response to the stimuli. The automatic coding has been carefully validated (bottom, timeline of emotions comparing manual and computer coding)10