Text this: A novel algorithm for crack path identification based on infrared images