Automatic measurement of the angle of strabismus in different directions of gaze with unrestrained head