MCPcopy Create free account
hub / github.com/OpenGVLab/UniFormerV2 / add_frames

Method add_frames

slowfast/visualization/utils.py:355–363  ·  view source on GitHub ↗

Add the clip and corresponding id. Args: idx (int): the current index of the clip. frames (list[ndarray]): list of images in "BGR" format.

(self, idx, frames)

Source from the content-addressed store, hash-verified

353 self.clip_vis_size = -1
354
355 def add_frames(self, idx, frames):
356 """
357 Add the clip and corresponding id.
358 Args:
359 idx (int): the current index of the clip.
360 frames (list[ndarray]): list of images in "BGR" format.
361 """
362 self.frames = frames
363 self.id = idx
364
365 def add_bboxes(self, bboxes):
366 """

Callers 2

__next__Method · 0.95
put_fnMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected