limap.line2d.LSD package

Submodules

limap.line2d.LSD.lsd module

class limap.line2d.LSD.lsd.LSDDetector(options=BaseDetectorOptions(set_gray=True, max_num_2d_segs=3000, do_merge_lines=False, visualize=False, weight_path=None))

Bases: BaseDetector

detect(camview)

Virtual method (for detector) - detect 2D line segments

Parameters:

view (limap.base.CameraView) – The limap.base.CameraView instance corresponding to the image

Returns:

line detections. Each row corresponds to x1, y1, x2, y2 and score.

Return type:

np.array of shape (N, 5)

get_module_name()

Virtual method (need to be implemented) - return the name of the module

Module contents