python3.6 opencv 3.4.2 ORB 算法
#ORB drawkeypoints
img = cv2.imread(‘1.png’,1)
orb = cv2.ORB_create()#默认是500
kp= orb.detect(img,None)
kp,des = orb.compute(img,kp)
img2 = cv2.drawKeypoints(img,kp,None,color=(0,255,0),flags=0)
plt.sho...
原创
2018-12-27 17:17:25 ·
786 阅读 ·
0 评论