Text this: A method for estimating the position and direction of a leader of a set of moving objects