code: def add_object(
      self,
      label_name,
      xmin,
      ymin,
      xmax,
      ymax,
      tpose=0,
      ttruncated=0,
      tdifficult=0,
  ):
      object = ET.SubElement(self.root, "object")
      namen = ET.SubElement(object, "name")
      namen.text = label_name
      pose = ET.SubElement(object, "pose")
      pose.text = str(tpose)
      truncated = ET.SubElement(object, "truncated")
      truncated.text = str(ttruncated)
      difficult = ET.SubElement(object, "difficult")
      difficult.text = str(tdifficult)
      bndbox = ET.SubElement(object, "bndbox")
      xminn = ET.SubElement(bndbox, "xmin")
      xminn.text = str(xmin)
      yminn = ET.SubElement(bndbox, "ymin")
      yminn.text = str(ymin)
      xmaxn = ET.SubElement(bndbox, "xmax")
      xmaxn.text = str(xmax)
      ymaxn = ET.SubElement(bndbox, "ymax")
      ymaxn.text = str(ymax)
  
imports: import xml.etree.ElementTree
label_desc: Use image node_id 3 for calling the VocAnnotations obj's underlying member method code with example usage: obj.add_object(label_name, xmin, ymin, xmax, ymax, tpose, ttruncated, tdifficult) without return types