Pill Identification by Imprints: PATR