Text this: Similarity based task timely termination method for image based intelligent agents