Scene Text Detection and Recognition Via Discriminative Representation