def METHOD_NAME(self, check_content=False, progress_callback=None, progress_interval=100, **kwargs):
    def update_progress(frame_id):
        if progress_callback is not None and frame_id % progress_interval == 0:
            progress_callback(frame_id / num_iterations * 100)
    root = read_xml(self.annotation_file)
    class_to_ind, meta = self.generate_meta(root)
    content_check_errors = None
    annotations = []
    for frames in root:
        num_iterations = len(frames)
        for frame_id, frame in enumerate(frames):
            identifier = '{}.png'.format(frame.tag)
            labels, x_mins, y_mins, x_maxs, y_maxs = [], [], [], [], []
            difficult_indices = []
            for annotation in frame:
                label = annotation.findtext('type')
                if not label:
                    raise ValueError('"{}" contains detection without "{}"'.format(self.annotation_file, 'type'))
                box = annotation.findtext('roi')
                if not box:
                    raise ValueError('"{}" contains detection without "{}"'.format(self.annotation_file, 'roi'))
                box = list(map(float, box.split()))
                is_ignored = annotation.findtext('is_ignored', 0)
                if int(is_ignored) == 1:
                    difficult_indices.append(len(labels))
                labels.append(class_to_ind[label])
                x_min, y_min, x_max, y_max = convert_bboxes_xywh_to_x1y1x2y2(*box)
                x_mins.append(x_min)
                y_mins.append(y_min)
                x_maxs.append(x_max)
                y_maxs.append(y_max)
            detection_annotation = DetectionAnnotation(identifier, labels, x_mins, y_mins, x_maxs, y_maxs)
            detection_annotation.metadata['difficult_boxes'] = difficult_indices
            annotations.append(detection_annotation)
            update_progress(frame_id)
    if self.image_names_file:
        self.rename_identifiers(annotations, self.image_names_file)
    if check_content:
        content_check_errors = []
        for annotation in annotations:
            if not check_file_existence(self.data_dir / annotation.identifier):
                content_check_errors.append('{}: file not found'.format(self.data_dir / annotation.identifier))
    return ConverterReturn(annotations, meta, content_check_errors)