def save(self, list_file):
    """Saves the current list of annotations to the given file.

    **Parameters:**

    ``list_file`` : str
      The name of a list file to write the currently stored list into
    """
    bob.io.base.create_directories_safe(os.path.dirname(list_file))
    with open(list_file, 'w') as f:
      for i in range(len(self.image_paths)):
        f.write(self.image_paths[i])
        for bbx in self.bounding_boxes[i]:
          f.write("\t[%f %f %f %f]" % (bbx.top_f, bbx.left_f, bbx.size_f[0], bbx.size_f[1]))
        f.write("\n")
Saves the current list of annotations to the given file.

    **Parameters:**

    ``list_file`` : str
      The name of a list file to write the currently stored list into