Image Classification Using Contours