code: def is_ignore(self, zone_list, frame_list, cid):
      # 0 not in any corssroad, 1 white 2 red 3 green 4 bule
      zs, ze = zone_list[0], zone_list[-1]
      fs, fe = frame_list[0], frame_list[-1]
      if zs == ze:
          # if always on one section, excluding
          if ze in [1, 2]:
              return 2
          if zs != 0 and 0 in zone_list:
              return 0
          if fe - fs > 1500:
              return 2
          if fs < 2:
              if cid in [45]:
                  if ze in [3, 4]:
                      return 1
                  else:
                      return 2
          if fe > 1999:
              if cid in [41]:
                  if ze not in [3]:
                      return 2
                  else:
                      return 0
          if fs < 2 or fe > 1999:
              if ze in [3, 4]:
                  return 0
          if ze in [3, 4]:
              return 1
          return 2
      else:
          # if camera section change
          if cid in [41, 42, 43, 44, 45, 46]:
              # come from road extension, exclusing
              if zs == 1 and ze == 2:
                  return 2
              if zs == 2 and ze == 1:
                  return 2
          if cid in [41]:
              # On 41 camera, no vehicle come into 42 camera
              if (zs in [1, 2]) and ze == 4:
                  return 2
              if zs == 4 and (ze in [1, 2]):
                  return 2
          if cid in [46]:
              # On 46 camera，no vehicle come into 45
              if (zs in [1, 2]) and ze == 3:
                  return 2
              if zs == 3 and (ze in [1, 2]):
                  return 2
          return 0
  
file_path: PaddleDetection/deploy/pptracking/python/mot/mtmct/zone.py
imports: import os
  import cv2
  import numpy
label_desc: Use image node_id 4 for calling the Zone obj's underlying member method code with example usage: obj.is_ignore(zone_list, frame_list, cid) and returns: int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int