Text this: Design and Implementation of Autonomous Obstacle Avoidance Scheme for UAV in High-speed Rail Inspection