Digit recignizer