code: def get_frames_from_video(
      self, vid_id, indices=None, num_frames=None
  ):
      vid_dict = self.vids_dict[vid_id]
      vid_len = vid_dict["num_frames"]
      if num_frames is not None:
          indices = coot_utils.compute_indices(
              vid_len, num_frames, self.is_train
          )
      frames = self.vid_data[vid_id][indices]
      return frames
  
imports: import json
  from collections import OrderedDict
  from pathlib import Path
  from typing import List
  import re
  import numpy
  import torch
  import torch.utils.data
  from tqdm import tqdm
  from gluoncv.torch.utils import coot_utils
label_desc: Use image node_id 4 for calling the VideoDatasetFeatures obj's underlying member method code with example usage: obj.get_frames_from_video(vid_id, indices, num_frames) and returns: frames