limap.line2d.DeepLSD package
Submodules
limap.line2d.DeepLSD.deeplsd module
- class limap.line2d.DeepLSD.deeplsd.DeepLSDDetector(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)
- download_model(path)
- get_module_name()
Virtual method (need to be implemented) - return the name of the module