... n in matches: # ratio的值越大,匹配的线条越密集,但错误匹配点也会增多 ratio = 0.6 if m.distance < ratio * n.distance: good.append(m) ...
確定! 回上一頁