Text this: AI Powered Obstacle Distance Estimation for Onboard Autonomous Train Operation