class_docstr: Camera motion compensation.
  
  Args:
      warp_mode (str): Warp mode in opencv.
          Defaults to 'cv2.MOTION_EUCLIDEAN'.
      num_iters (int): Number of the iterations. Defaults to 50.
      stop_eps (float): Terminate threshold. Defaults to 0.001.
class_docstr_tok: ["Camera","motion","compensation",".","Args",":","warp_mode","(","str",")",":","Warp","mode","in","opencv",".","Defaults","to","'cv2.MOTION_EUCLIDEAN","'",".","num_iters","(","int",")",":","Number","of","the","iterations",".","Defaults","to","50.","stop_eps","(","float",")",":","Terminate","threshold",".","Defaults","to","0.001","."]
code: def __init__(
      self,
      warp_mode: str = "cv2.MOTION_EUCLIDEAN",
      num_iters: int = 50,
      stop_eps: float = 0.001,
  ):
      self.warp_mode = eval(warp_mode)
      self.num_iters = num_iters
      self.stop_eps = stop_eps
  
file_path: mmdetection/mmdet/models/task_modules/tracking/camera_motion_compensation.py
imports: import cv2
  import numpy
  import torch
  from torch import Tensor
  from mmdet.registry import TASK_UTILS
  from mmdet.structures.bbox import bbox_cxcyah_to_xyxy, bbox_xyxy_to_cxcyah
label_desc: Use image node_id 1 to create a new CameraMotionCompensation object  with example: obj = CameraMotionCompensation(warp_mode, num_iters, stop_eps)