Bf matcher takes the descriptor of one feature in first set and is matched with all other features in second set and the closest one is returned. API Syntax template <int PU = 1, int MAX_KEYPOINTS = 10000> void bfMatcher(ap_uint<256> desc_list_q[MAX_KEYP
接着我们用距离度量cv2.NORM_HAMMING创建一个BFMatcher对象,crossCheck设为真。然后我们用Matcher.match()方法来获得两个图像里最匹配的。我们按他们距离升序排列,这样最匹配的(距离最小)在最前面。然后我们画出最开始的10个匹配(为了好看,你可以增加) # create BFMatcher object bf = cv2.BFMatcher(cv2.NORM_HAMMIN...