code: def __init__(
      self,
      annotations_dir: Union[str, Path],
      images_dir: Union[str, Path],
      class_map: Optional[ClassMap] = None,
      idmap: Optional[IDMap] = None,
  ):
      super().__init__(
          template_record=self.template_record(), idmap=idmap
      )
      self.class_map = class_map or ClassMap().unlock()
      self.images_dir = Path(images_dir)
  
      self.annotations_dir = Path(annotations_dir)
      self.annotation_files = get_files(
          self.annotations_dir, extensions=[".xml"]
      )
  
imports: import xml.etree.ElementTree
  from icevision.imports import *
  from icevision.utils import *
  from icevision.core import *
  from icevision.parsers.parser import *
label_desc: Use image node_id 1 to create a new VOCBBoxParser object from inherited base classes: Parser with example: obj = VOCBBoxParser(annotations_dir, images_dir, class_map, idmap)