class_docstr: BaseAnchorBasedTracktor
class_docstr_tok: ["BaseAnchorBasedTracktor"]
docstr: Perform detection and tracking on the new frame
  
  Parameters
  ----------
  frame: HxWx3 RGB image
  tracking_anchor_indices: NxM ndarray
  tracking_anchor_weights NxM ndarray
  tracking_classes: Nx1 ndarray of the class ids of the tracked object
  
  Returns
      detection_bounding_boxes: all detection results, in (x0, y0, x1, y1, confidence, cls) format
      detection_source: source anchor box indices for each detection
      tracking_boxes: all tracking results, in (x0, y0, x1, y1, confidence) format
      extract_info: extra information from the tracktor, e.g. landmarks, a dict
  -------
docstr_tok: ["Perform","detection","and","tracking","on","the","new","frame","Parameters","--","--","--","--","--","frame",":","HxWx3","RGB","image","tracking_anchor_indices",":","NxM","ndarray","tracking_anchor_weights","NxM","ndarray","tracking_classes",":","Nx1","ndarray","of","the","class","ids","of","the","tracked","object","Returns","detection_bounding_boxes",":","all","detection","results",",","in","(","x0",",","y0",",","x1",",","y1",",","confidence",",","cls",")","format","detection_source",":","source","anchor","box","indices","for","each","detection","tracking_boxes",":","all","tracking","results",",","in","(","x0",",","y0",",","x1",",","y1",",","confidence",")","format","extract_info",":","extra","information","from","the","tracktor",",","e.g",".","landmarks",",","a","dict","--","--","--","-"]
code: def detect_and_track(
      self,
      frame,
      tracking_anchor_indices,
      tracking_anchor_weights,
      tracking_classes,
  ):
      """
      Perform detection and tracking on the new frame
  
      Parameters
      ----------
      frame: HxWx3 RGB image
      tracking_anchor_indices: NxM ndarray
      tracking_anchor_weights NxM ndarray
      tracking_classes: Nx1 ndarray of the class ids of the tracked object
  
      Returns
          detection_bounding_boxes: all detection results, in (x0, y0, x1, y1, confidence, cls) format
          detection_source: source anchor box indices for each detection
          tracking_boxes: all tracking results, in (x0, y0, x1, y1, confidence) format
          extract_info: extra information from the tracktor, e.g. landmarks, a dict
      -------
  
      """
      raise NotImplementedError
  
file_path: gluon-cv/gluoncv/model_zoo/smot/tracktors.py
imports: from abc import ABC, abstractmethod
  import numpy
  import mxnet
  from .utils import timeit
  from .general_detector import GeneralDetector
label_desc: Use image node_id 3 for calling the BaseAnchorBasedTracktor obj's underlying member method code with example usage: obj.detect_and_track(frame, tracking_anchor_indices, tracking_anchor_weights, tracking_classes) without return types