Pill Identification by Imprints: alg