@ahojnnes : For each keypoint(row) `i`, the `j` corresponding to the minimum distance needs to be selected. Then once we have all the `keypoints1.sahpe[0]` pairs of `i` and `j`, we need to remove those pairs whose distance is greater than the threshold.