Text this: Contour-Based Corner Detection and Classification by Using Mean Projection Transform