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

Method _empty_face_image

tools/preprocess/process_pipepline.py:123–124  ·  view source on GitHub ↗
(frame)

Source from the content-addressed store, hash-verified

121
122 @staticmethod
123 def _empty_face_image(frame):
124 return np.zeros((512, 512, frame.shape[2]), dtype=frame.dtype)
125
126 def _build_face_images(self, frames, pose_metas, pose_valid_flags=None):
127 face_images = []

Callers 1

_build_face_imagesMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected