MCPcopy Create free account
hub / github.com/MeiGen-AI/MultiTalk / _load_image

Method _load_image

wan/utils/vace_processor.py:30–35  ·  view source on GitHub ↗
(self, img_path)

Source from the content-addressed store, hash-verified

28 return image
29
30 def _load_image(self, img_path):
31 if img_path is None or img_path == '':
32 return None
33 img = Image.open(img_path)
34 img = self._pillow_convert(img)
35 return img
36
37 def _resize_crop(self, img, oh, ow, normalize=True):
38 """

Callers 1

load_image_batchMethod · 0.95

Calls 1

_pillow_convertMethod · 0.95

Tested by

no test coverage detected