MCPcopy Create free account
hub / github.com/ModelTC/LightX2V / skip_replace_frame_outputs

Function skip_replace_frame_outputs

tools/preprocess/utils.py:27–30  ·  view source on GitHub ↗
(frame)

Source from the content-addressed store, hash-verified

25
26
27def skip_replace_frame_outputs(frame):
28 h, w = frame.shape[:2]
29 aug_mask = np.zeros((h, w), dtype=np.uint8)
30 return frame.copy(), aug_mask
31
32
33def get_aug_mask(body_mask, w_len=10, h_len=20):

Callers 1

__call__Method · 0.90

Calls 1

copyMethod · 0.80

Tested by

no test coverage detected