Text this: A vision based algorithm for the guidance of a glider