Text this: An Environment Recognition Algorithm for Staircase Climbing Robots