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
LOST
in 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_NEEDED
in the output bbox;If
UPDATE_NOT_NEEDED
in the output bbox, setUPDATE_NOT_NEEDED
in the corresponding input bbox and writes the output estimation over the corresponding input prediction.