MCPcopy
hub / github.com/BIT-DataLab/Edit-Banana / __init__

Method __init__

main.py:83–91  ·  view source on GitHub ↗
(self, config: dict = None)

Source from the content-addressed store, hash-verified

81 """Runs segmentation, text extraction, and XML merge (see README pipeline)."""
82
83 def __init__(self, config: dict = None):
84 self.config = config or load_config()
85 self._text_restorer = None
86 self._sam3_extractor = None
87 self._icon_processor = None
88 self._shape_processor = None
89 self._xml_merger = None
90 self._metric_evaluator = None
91 self._refinement_processor = None
92
93 @property
94 def text_restorer(self):

Callers

nothing calls this directly

Calls 1

load_configFunction · 0.85

Tested by

no test coverage detected