cvg / GlueStick

Joint Deep Matcher for Points and Lines 🖼️💥🖼️ (ICCV 2023)
https://iago-suarez.com/gluestick
MIT License
551 stars 43 forks source link

How to only use lines/points? #4

Closed Mxbonn closed 1 year ago

Mxbonn commented 1 year ago

It seems that the pipeline has the arguments : use_lines and use_points. However they do not seem to be used as changing their values still outputs both points and lines.

rpautrat commented 1 year ago

Hi, you are correct that currently these two parameters are useless. They are actually used in the training code, which will be released later. So it will make sense at that time.

For now, if you want to use it with only points or only lines, you can set the parameters 'max_num_keypoints' or 'max_n_lines' to 0 in the config.

Mxbonn commented 1 year ago

That does the trick, thanks! Slightly unrelated question: will you also release code on how to use it with SOLD^2 instead of LSD?

rpautrat commented 1 year ago

Yes, we will make it more flexible in the next release, allowing to use it with SOLD2 or even other detectors!