class_docstr: OTBVideo class. Including video operation
  
  Parameters
  ----------
      name : str
          video name
      root: str
          dataset root
      video_dir: str
          video directory
      init_rect: list
          init rectangle
      img_names: str
          image names
      gt_rect: list
          groundtruth rectangle
      attr: str
          attribute of video
class_docstr_tok: ["OTBVideo","class",".","Including","video","operation","Parameters","--","--","--","--","--","name",":","str","video","name","root",":","str","dataset","root","video_dir",":","str","video","directory","init_rect",":","list","init","rectangle","img_names",":","str","image","names","gt_rect",":","list","groundtruth","rectangle","attr",":","str","attribute","of","video"]
docstr: open txt and load_tracker
  Parameters
  ----------
      path : str
          path to result
      tracker_name : list
          name of tracker
docstr_tok: ["open","txt","and","load_tracker","Parameters","--","--","--","--","--","path",":","str","path","to","result","tracker_name",":","list","name","of","tracker"]
code: def load_tracker(self, path, tracker_names=None, store=True):
      """
      open txt and load_tracker
      Parameters
      ----------
          path : str
              path to result
          tracker_name : list
              name of tracker
      """
      if not tracker_names:
          tracker_names = [
              x.split("/")[-1] for x in glob(path) if os.path.isdir(x)
          ]
      if isinstance(tracker_names, str):
          tracker_names = [tracker_names]
      for name in tracker_names:
          traj_file = os.path.join(path, name, self.name + ".txt")
          if not os.path.exists(traj_file):
              if self.name == "FleetFace":
                  txt_name = "fleetface.txt"
              elif self.name == "Jogging-1":
                  txt_name = "jogging_1.txt"
              elif self.name == "Jogging-2":
                  txt_name = "jogging_2.txt"
              elif self.name == "Skating2-1":
                  txt_name = "skating2_1.txt"
              elif self.name == "Skating2-2":
                  txt_name = "skating2_2.txt"
              elif self.name == "FaceOcc1":
                  txt_name = "faceocc1.txt"
              elif self.name == "FaceOcc2":
                  txt_name = "faceocc2.txt"
              elif self.name == "Human4-2":
                  txt_name = "human4_2.txt"
              else:
                  txt_name = (
                      self.name[0].lower() + self.name[1:] + ".txt"
                  )
              traj_file = os.path.join(path, name, txt_name)
          if os.path.exists(traj_file):
              with open(traj_file, "r") as f:
                  pred_traj = [
                      list(map(float, x.strip().split(",")))
                      for x in f.readlines()
                  ]
                  if len(pred_traj) != len(self.gt_traj):
                      print(
                          name,
                          len(pred_traj),
                          len(self.gt_traj),
                          self.name,
                      )
                  if store:
                      self.pred_trajs[name] = pred_traj
                  else:
                      return pred_traj
          else:
              print(traj_file)
      self.tracker_names = list(self.pred_trajs.keys())
      return None
  
imports: import json
  import os
  from glob import glob
  from tqdm import tqdm
  from mxnet.gluon.data import dataset
  from gluoncv.utils.filesystem import try_import_cv2
label_desc: Use image node_id 2 for calling the OTBVideo obj's underlying member method code with example usage: obj.load_tracker(path, tracker_names, store) and returns: None, pred_traj