The application of Hamming net in graphic recognition