class_docstr: Pascal VOC dataset load
  
  Parameters
  ----------------
  root: str, example:'./data/VOCdevkit'.
  splits_names: tuple, ((year, trainval)).
  classes: list[str], If you using custom-voc dataset,     you need to config the name of custom objects.
  difficult: bool, False ignore voc xml difficult value.
class_docstr_tok: ["Pascal","VOC","dataset","load","Parameters","--","--","--","--","--","--","--","--","root",":","str",",","example",":","'.\/data\/VOCdevkit","'",".","splits_names",":","tuple",",","(","(","year",",","trainval",")",")",".","classes",":","list","[","str","]",",","If","you","using","custom-voc","dataset",",","you","need","to","config","the","name","of","custom","objects",".","difficult",":","bool",",","False","ignore","voc","xml","difficult","value","."]
code: def _load_items(self, splits_names):
      img_ids = []
      for year, txtname in splits_names:
          vocfolder = osp.join(self._root, "VOC{}".format(year))
          txtpath = osp.join(
              vocfolder, "ImageSets", "Main", txtname + ".txt"
          )
          try:
              with open(txtpath, "r", encoding="utf-8") as f:
                  img_ids += [
                      (vocfolder, line.strip())
                      for line in f.readlines()
                  ]
          except:
              continue
      return img_ids
  
file_path: analytics-zoo/pyzoo/zoo/orca/data/image/voc_dataset.py
imports: import numpy
  import os
  import os.path
  from PIL import Image
  import logging
label_desc: Use image node_id 2 for calling the VOCDatasets obj's underlying member method code with example usage: obj._load_items(splits_names) and returns: img_ids