Text this: An underground coal mine multi-target detection algorithm