当我运行我的python代码时importnumpyasnpimportcv2importmatplotlib.pyplotaspltimg1=cv2.imread('/home/shar/home.jpg',0)#queryImageimg2=cv2.imread('/home/shar/home2.jpg',0)#trainImage#InitiateSIFTdetectorsift=cv2.xfeatures2d.SIFT_create()#findthekeypointsanddescriptorswithSIFTkp1,des1=sift.detectAndCompute(i
当我运行我的python代码时importnumpyasnpimportcv2importmatplotlib.pyplotaspltimg1=cv2.imread('/home/shar/home.jpg',0)#queryImageimg2=cv2.imread('/home/shar/home2.jpg',0)#trainImage#InitiateSIFTdetectorsift=cv2.xfeatures2d.SIFT_create()#findthekeypointsanddescriptorswithSIFTkp1,des1=sift.detectAndCompute(i