In this essay,two ways of two -dimensional image rectifying algorithms are introduced.One is the control -point transformation;the other is the projective transformation.After analyzing these two methods from different standpoints,including specialties and differences,and discussing their application in two-dimensional barcode image rectification,the conclusion is that the projective transformation is more precise than the other one in rectification of actual shooting barcode image.