def make_default_config(cls, model_result_suffix: str) -> dict: config = super(InfModeSlidingWindowDetection, cls).make_default_config(model_result_suffix) our_config = { NMS_AFTER: { ENABLE: False, IOU_THRESHOLD: 0.0, CONFIDENCE_TAG_NAME: CONFIDENCE }, } update_strict(config, our_config) return config
def make_default_config(cls, model_result_suffix: str): config = super(InfModeRoi, cls).make_default_config(model_result_suffix) our_config = { BOUNDS: { LEFT: '0' + PX, TOP: '0' + PX, RIGHT: '0' + PX, BOTTOM: '0' + PX, }, SAVE: False, CLASS_NAME: 'inference_roi' } update_strict(config, our_config) return config
def make_default_config(cls, model_result_suffix: str) -> dict: config = super(InfModeBboxes, cls).make_default_config(model_result_suffix) our_config = { FROM_CLASSES: MATCH_ALL, PADDING: { LEFT: '0' + PX, TOP: '0' + PX, RIGHT: '0' + PX, BOTTOM: '0' + PX, }, SAVE: False, Renamer.ADD_SUFFIX: '_input_bbox' } update_strict(config, our_config) return config
def make_default_config(cls, model_result_suffix: str) -> dict: config = super(InfModeSlidinglWindowBase, cls).make_default_config(model_result_suffix) our_config = { WINDOW: { WIDTH: 128, HEIGHT: 128, }, MIN_OVERLAP: { X: 0, Y: 0, }, SAVE: False, CLASS_NAME: 'sliding_window', } update_strict(config, our_config) return config