vpi.KLTFeatureTracker.default_update
- static KLTFeatureTracker.default_update(in_boxes: vpi.Array, in_preds: vpi.Array, out_boxes: vpi.Array, out_estim: vpi.Array) None
Get the default update function.
The default update reads the output bounding boxes (bboxes) and estimations, and does:
Writes
LOSTin the input bboxes if its corresponding output bbox isLOST;Writes the output bbox over the corresponding input bbox and set input predictions to identity if
UPDATE_NEEDEDin the output bbox;If
UPDATE_NOT_NEEDEDin the output bbox, setUPDATE_NOT_NEEDEDin the corresponding input bbox and writes the output estimation over the corresponding input prediction.