ducha-aiki / pymagsac

MAGSAC: marginalizing sample consensus, python version
Other
73 stars 14 forks source link

The results are not stable. #8

Open zxp771 opened 4 years ago

zxp771 commented 4 years ago

Hi @ducha-aiki Thanks for your great work and sharing. I tried your code on d2-net matching test. I noticed the Homography results are different even I ran the same data in the same parameters(I mean the same threshold) which the fluctuations can not be ignored. Could you give me some suggestions to get a stable result?

ducha-aiki commented 4 years ago

Hi,

Unfortunately, RANSAC is a stochastic algorithm by definition. What you could do is to increase the number of iterations (max_iter)