code: def subcam_list(cid_tid_dict, cid_tids):
      sub_3_4 = dict()
      sub_4_3 = dict()
      for cid_tid in cid_tids:
          cid, tid = cid_tid
          tracklet = cid_tid_dict[cid_tid]
          zs, ze = get_dire(tracklet["zone_list"], cid)
          if zs in [3] and cid not in [46]:  # 4 to 3
              if not cid + 1 in sub_4_3:
                  sub_4_3[cid + 1] = []
              sub_4_3[cid + 1].append(cid_tid)
          if ze in [4] and cid not in [41]:  # 4 to 3
              if not cid in sub_4_3:
                  sub_4_3[cid] = []
              sub_4_3[cid].append(cid_tid)
          if zs in [4] and cid not in [41]:  # 3 to 4
              if not cid - 1 in sub_3_4:
                  sub_3_4[cid - 1] = []
              sub_3_4[cid - 1].append(cid_tid)
          if ze in [3] and cid not in [46]:  # 3 to 4
              if not cid in sub_3_4:
                  sub_3_4[cid] = []
              sub_3_4[cid].append(cid_tid)
      sub_cid_tids = dict()
      for i in sub_3_4:
          sub_cid_tids[(i, i + 1)] = sub_3_4[i]
      for i in sub_4_3:
          sub_cid_tids[(i, i - 1)] = sub_4_3[i]
      return sub_cid_tids
  
file_path: PaddleDetection/deploy/pptracking/python/mot/mtmct/camera_utils.py
imports: import numpy
  from .utils import get_dire, get_match, get_cid_tid, combin_feature, combin_cluster
  from .utils import normalize, intracam_ignore, visual_rerank
label_desc: Use image node_id 2 for calling a global function with example usage: subcam_list(cid_tid_dict, cid_tids) and returns: sub_cid_tids