class_docstr: Directly get the key frame, no reference frames.
  
  Args:
      collect_video_keys (list[str]): The keys of video info to be
          collected.
class_docstr_tok: ["Directly","get","the","key","frame",",","no","reference","frames",".","Args",":","collect_video_keys","(","list","[","str","]",")",":","The","keys","of","video","info","to","be","collected","."]
code: def __init__(
      self, collect_video_keys: List[str] = ["video_id", "video_length"]
  ):
      self.collect_video_keys = collect_video_keys
  
file_path: mmdetection/mmdet/datasets/transforms/frame_sampling.py
imports: import random
  from collections import defaultdict
  from typing import Dict, List, Optional, Union
  from mmcv.transforms import BaseTransform
  from mmdet.registry import TRANSFORMS
label_desc: Use image node_id 1 to create a new BaseFrameSample object from inherited base classes: BaseTransform with example: obj = BaseFrameSample(collect_video_keys)