navervision / mlsd

Official Tensorflow implementation of "M-LSD: Towards Light-weight and Real-time Line Segment Detection" (AAAI 2022 Oral)
Apache License 2.0
533 stars 81 forks source link

Parameter documentation #20

Closed JohnReid closed 2 years ago

JohnReid commented 2 years ago

Thanks for your great line and box detection code. Are the parameters for the box detection method described anywhere? I looked in the paper and didn't see how to match the equations to the code.

geonm commented 2 years ago

Hi.

The box detection is not the contribution of the MLSD paper.

It is provided to emphasize that the detection of low level feature such as a line segment should be very fast.

Anyway, I heuristically designed all the parameters used in the box detection codes to find the appropriate rectangle object lying in the center of the image.

The default value of the parameter was found (simple grid search) using the evaluation data which I obtained with smartphone.

A brief explanation about all parameters is...

JohnReid commented 2 years ago

Thanks for that, much appreciated.