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

Method _get_frameid_bbox

wan/utils/vace_processor.py:219–225  ·  view source on GitHub ↗
(self, fps, frame_timestamps, h, w, crop_box, rng)

Source from the content-addressed store, hash-verified

217 return frame_ids, (x1, x2, y1, y2), (oh, ow), target_fps
218
219 def _get_frameid_bbox(self, fps, frame_timestamps, h, w, crop_box, rng):
220 if self.keep_last:
221 return self._get_frameid_bbox_adjust_last(fps, frame_timestamps, h,
222 w, crop_box, rng)
223 else:
224 return self._get_frameid_bbox_default(fps, frame_timestamps, h, w,
225 crop_box, rng)
226
227 def load_video(self, data_key, crop_box=None, seed=2024, **kwargs):
228 return self.load_video_batch(

Callers 1

load_video_batchMethod · 0.95

Tested by

no test coverage detected