Machine Learning, Computer Vision, Opencv, Python, Deep Learning.
The reason we want the top two matches rather than just the top one match is because we need to apply David Lowe’s ratio test for false-positive match pruning. Again, Line 5 computes the rawMatches for each pair of descriptors — but there is a chance that some of these pairs are false positives,