limap.line2d.HAWPv3 package

Submodules

limap.line2d.HAWPv3.hawp module

class limap.line2d.HAWPv3.hawp.HAWPv3Detector(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)

detect_hawp(img, net, shape=(512, 512), thresh=0.5)
download_model(path)
get_module_name()

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

Module contents