class_docstr: XML dataset for detection.
  
  Args:
      min_size (int | float, optional): The minimum size of bounding
          boxes in the images. If the size of a bounding box is less than
          ``min_size``, it would be add to ignored field.
code: def __init__(self, min_size=None, **kwargs):
      super(XMLDataset, self).__init__(**kwargs)
      self.cat2label = {cat: i for i, cat in enumerate(self.CLASSES)}
      self.min_size = min_size
  
file_path: insightface/detection/scrfd/mmdet/datasets/xml_style.py
imports: import os.path
  import xml.etree.ElementTree
  import mmcv
  import numpy
  from PIL import Image
  from .builder import DATASETS
  from .custom import CustomDataset
label_desc: Use image node_id 1 to create a new XMLDataset object from inherited base classes: CustomDataset with example: obj = XMLDataset(min_size)