MCPcopy Create free account
hub / github.com/BIT-DataLab/Edit-Banana / icon_processor

Method icon_processor

main.py:111–116  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

109
110 @property
111 def icon_processor(self) -> IconPictureProcessor:
112 if self._icon_processor is None:
113 rmbg_cfg = self.config.get("rmbg") or {}
114 rmbg_path = rmbg_cfg.get("model_path")
115 self._icon_processor = IconPictureProcessor(rmbg_model_path=rmbg_path)
116 return self._icon_processor
117
118 @property
119 def shape_processor(self) -> BasicShapeProcessor:

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected