The invention discloses a garment QD code recognition method. The method includes the following steps that firstly, a two-dimension code image attached to a garment raw material is collected; secondly, the image is subjected to graying, fast median filtering and binarization processing; thirdly, the image having been subjected to binarization processing is subjected to edge extraction; fourthly, two side edge regions obtained after edge extraction of a QR code are separated out; fifthly, Hough transform is adopted to detect a side-edge imaginary line so as to obtain the deviation angle of the QR code; sixthly, the image having been subjected to binarization processing is rotated according to the bilinear interpolation method, and initial correction is carried out; seventhly, the QR code is positioned, the sequence of three view finding images is determined, and the QR code is adjusted to have a correct orientation according to the image matrix transposition turning method; eighthly, decoding is carried out according to the national two-dimension code standard. According to the method, due to the combination of projection cutting and the Hough transform method, the deviation angle of the QR code can be quickly and accurately acquired, the collected image is immune from noise pollution and uneven illumination, and the two-dimension code image easy to identify can be obtained through transform.