class_docstr: A tracker using IoU as weight in Hungarian algorithm, also known
  as Munkres or Kuhn-Munkres algorithm
class_docstr_tok: ["A","tracker","using","IoU","as","weight","in","Hungarian","algorithm",",","also","known","as","Munkres","or","Kuhn-Munkres","algorithm"]
docstr: Args:
  video_height: height the video frame
  video_width: width of the video frame
  max_num_instances: maximum number of id allowed to be tracked
  max_lost_frame_count: maximum number of frame an id can lost tracking
                        exceed this number, an id is considered as lost
                        forever
  min_box_rel_dim: a percentage, smaller than this dimension, a bbox is
                   removed from tracking
  min_instance_period: an instance will be shown after this number of period
                       since its first showing up in the video
  track_iou_threshold: iou threshold, below this number a bbox pair is removed
                       from tracking
docstr_tok: ["Args",":","video_height",":","height","the","video","frame","video_width",":","width","of","the","video","frame","max_num_instances",":","maximum","number","of","id","allowed","to","be","tracked","max_lost_frame_count",":","maximum","number","of","frame","an","id","can","lost","tracking","exceed","this","number",",","an","id","is","considered","as","lost","forever","min_box_rel_dim",":","a","percentage",",","smaller","than","this","dimension",",","a","bbox","is","removed","from","tracking","min_instance_period",":","an","instance","will","be","shown","after","this","number","of","period","since","its","first","showing","up","in","the","video","track_iou_threshold",":","iou","threshold",",","below","this","number","a","bbox","pair","is","removed","from","tracking"]
code: def __init__(
      self,
      *,
      video_height: int,
      video_width: int,
      max_num_instances: int = 200,
      max_lost_frame_count: int = 0,
      min_box_rel_dim: float = 0.02,
      min_instance_period: int = 1,
      track_iou_threshold: float = 0.5,
      **kwargs,
  ):
      """
      Args:
      video_height: height the video frame
      video_width: width of the video frame
      max_num_instances: maximum number of id allowed to be tracked
      max_lost_frame_count: maximum number of frame an id can lost tracking
                            exceed this number, an id is considered as lost
                            forever
      min_box_rel_dim: a percentage, smaller than this dimension, a bbox is
                       removed from tracking
      min_instance_period: an instance will be shown after this number of period
                           since its first showing up in the video
      track_iou_threshold: iou threshold, below this number a bbox pair is removed
                           from tracking
      """
      super().__init__(
          video_height=video_height,
          video_width=video_width,
          max_num_instances=max_num_instances,
          max_lost_frame_count=max_lost_frame_count,
          min_box_rel_dim=min_box_rel_dim,
          min_instance_period=min_instance_period,
          track_iou_threshold=track_iou_threshold,
      )
  
file_path: detectron2/detectron2/tracking/iou_weighted_hungarian_bbox_iou_tracker.py
imports: import numpy
  from typing import List
  from detectron2.config import CfgNode
  from detectron2.config import configurable
  from .base_tracker import TRACKER_HEADS_REGISTRY
  from .vanilla_hungarian_bbox_iou_tracker import VanillaHungarianBBoxIOUTracker
label_desc: Use image node_id 1 to create a new IOUWeightedHungarianBBoxIOUTracker object from inherited base classes: VanillaHungarianBBoxIOUTracker with example: obj = IOUWeightedHungarianBBoxIOUTracker()