def get_video_name(image_name):
  """ Extracts the video name from an image filename.
  Args:
    image_name: The name of the image file.
  Returns:
    The name of the video that the image belongs to. """
  video_name = image_name.split("_")[0:3]
  video_name = "%s_%s_%s" % (video_name[0], video_name[1], video_name[2])
  return video_name