Text this: An improved traffic lights recognition algorithm for autonomous driving in complex scenarios