class_docstr: BaseAnchorBasedTracktor
class_docstr_tok: ["BaseAnchorBasedTracktor"]
docstr: This method should run anything that needs to happen before the motion prediction.
  It can prepare the detector or even run the backbone feature extractions.
  It can also  provide data to motion prediction
  Parameters
  ----------
  frame: the frame data, the same as in the detect_and_track method
  Returns
  -------
      motion_predict_data: optional data provided to motion prediction, if no data is provided, return None
docstr_tok: ["This","method","should","run","anything","that","needs","to","happen","before","the","motion","prediction",".","It","can","prepare","the","detector","or","even","run","the","backbone","feature","extractions",".","It","can","also","provide","data","to","motion","prediction","Parameters","--","--","--","--","--","frame",":","the","frame","data",",","the","same","as","in","the","detect_and_track","method","Returns","--","--","--","-","motion_predict_data",":","optional","data","provided","to","motion","prediction",",","if","no","data","is","provided",",","return","None"]
code: def prepare_for_frame(self, frame):
      """
      This method should run anything that needs to happen before the motion prediction.
      It can prepare the detector or even run the backbone feature extractions.
      It can also  provide data to motion prediction
      Parameters
      ----------
      frame: the frame data, the same as in the detect_and_track method
      Returns
      -------
          motion_predict_data: optional data provided to motion prediction, if no data is provided, return None
      """
      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 2 for calling the BaseAnchorBasedTracktor obj's underlying member method code with example usage: obj.prepare_for_frame(frame) without return types