LightGlue icon indicating copy to clipboard operation
LightGlue copied to clipboard

Match confidence

Open marisancans opened this issue 1 year ago • 1 comments

Hello, is there any scoring to the points matched?

pred = match_pair(extractor, matcher, prev_frame_t, frame_t)

'keypoints0'
'keypoint_scores0'
'descriptors0'
'keypoints1'
'keypoint_scores1'
'descriptors1'
'image0'
'image1'
'log_assignment'
'matches0'
'matches1'

I see that pred contains matching_score but I cant see any info on what that actually is. What I would like to do is filter out potentialy bad matches / low confidence, on for example white walls with low ammount of features.

marisancans avatar Jun 28 '23 08:06 marisancans

Hey, yes you can use the filter_threshold parameter of LightGlue, and set it higher for more confident matches.

Phil26AT avatar Jun 28 '23 15:06 Phil26AT