code: def apply(self, raw_frame, detections=None):
      if self.method == "orb" or self.method == "sift":
          return self.applyFeaures(raw_frame, detections)
      elif self.method == "ecc":
          return self.applyEcc(raw_frame, detections)
      elif self.method == "sparseOptFlow":
          return self.applySparseOptFlow(raw_frame, detections)
      elif self.method == "file":
          return self.applyFile(raw_frame, detections)
      elif self.method == "none":
          return np.eye(2, 3)
      else:
          return np.eye(2, 3)
  
file_path: PaddleDetection/deploy/pptracking/python/mot/motion/gmc.py
imports: import cv2
  import matplotlib.pyplot
  import numpy
  import copy
  import time
label_desc: Use image node_id 2 for calling the GMC obj's underlying member method code with example usage: obj.apply(raw_frame, detections) and returns: self, self, self, self, np, np