Instantiate a line detector/descriptor

limap.line2d.register_detector.get_detector(cfg_detector, max_num_2d_segs=3000, do_merge_lines=False, visualize=False, weight_path=None)

Get a line detector specified by cfg_detector[“method”]

Parameters:

cfg_detector – config for the line detector

limap.line2d.register_detector.get_extractor(cfg_extractor, weight_path=None)

Get a line descriptor speicified by cfg_extractor[“method”]

Parameters:

cfg_extractor – config for the line extractor