Text this: Image Coding for Object Recognition Tasks Based on Contour Feature Learning With Flexible Object Selection