code: def __init__(self, cfg):
      self.cfg = cfg
      self.filter_horizontal_flag = self.cfg["filter_horizontal_flag"]
      self.deviation = self.cfg["deviation"]
      self.move_scale = self.cfg["move_scale"]
      self.keep_right_flag = self.cfg["keep_right_flag"]
      self.center_traj_retrograde = [
          {}
      ]  # retrograde recognizer record use
      self.fence_line = (
          None
          if len(self.cfg["fence_line"]) == 0
          else self.cfg["fence_line"]
      )
  
file_path: PaddleDetection/deploy/pipeline/ppvehicle/vehicle_retrograde.py
imports: import numpy
  import math
label_desc: Use image node_id 1 to create a new VehicleRetrogradeRecognizer object from inherited base classes: object with example: obj = VehicleRetrogradeRecognizer(cfg)