Adaptive autonomous positioning of a robot vision system: Application to quality control on production lines