def METHOD_NAME(self, data_batch: dict, data_samples: Sequence[dict]) -> None:
    """Process one batch of data samples and predictions.
    The processed results should be stored in ``self.results``, which will
    be used to compute the metrics when all batches have been processed.
    Args:
        data_batch (dict): A batch of data from the dataloader.
        data_samples (Sequence[dict]): A batch of data samples that
            contain annotations and predictions.
    """
    for track_data_sample in data_samples:
        video_data_samples = track_data_sample['video_data_samples']
        ori_video_len = video_data_samples[0].ori_video_length
        if ori_video_len == len(video_data_samples):
            # video process
            self.process_video(video_data_samples)
        else:
            # image process
            self.process_image(video_data_samples, ori_video_len)