Image mosaic technology is widely used in many fields such as remote sensing image processing, computer recognition, medical image analysis and artificial intelligence, etc. Considering the shortcomings of scaleinvariant feature transform (SIFT) algorithms, i.e. the complexity and timeconsuming of the feature extraction actions, and the Harris algorithm can fast extract the features in the image, this paper presents an algorithm combining the advantages of the Harris and the SIFT and uses the algorithm in automatic image stitching. we firstly use the Harris algorithm to improve image feature extraction, secondly use the SIFT algorithm to describe the feature points, thirdly use the Euclidean distance to match the obtained feature vectors, and finally implement the automatic image stitching. Experimental results show that the method can effectively improve the efficiency of matching in the SIFT algorithm, and better do automatic image stitching.