code: def __init__(self, xml_name: str):
      self.doc = dom.Document()
      self.xml_name = xml_name
  
file_path: deep-learning-for-image-processing/others_project/trans_widerface_to_xml/create_xml.py
imports: import copy
  import os
  from xml.dom import minidom
label_desc: Use image node_id 1 to create a new XMLGenerator object from inherited base classes: object with example: obj = XMLGenerator(xml_name)