Method for quickly identifying two-dimension code system type in images

The invention discloses a method for quickly identifying two-dimension code system type in images, comprising a learning training process and a classification identifying process. The learning training process is as follows: collecting and building a sample image set of various two-dimension code images; converting each sample image into a grey image, performing Gaussian smoothing filtering and binaryzation to obtain binaryzation images; scanning prospect boundaries of the binaryzation images in the horizontal and vertical directions, obtaining an outer boundary point set of the two-dimension code; enabling the two-dimension code to be horizontal by rotating images, achieving horizontal correction of the two-dimension code; performing partitioning, combining and normalizing for the two-dimension code; performing fast wavelet transform for the normalized sample image to obtain a wavelet characteristic sample set. The classification identifying process is as follows: extracting wavelet characteristic of the to-be-identified image to build a distance measurement model; using the K nearest neighbor algorithm to identify code system type. The method is convenient and quick, has real-time performance, accuracy and high identification rate.