Pill Identification by Imprints: Z or M