View Source Evision.Tracker (Evision v0.1.9)

Link to this section Summary

cv

Initialize the tracker with a known bounding box that surrounded the target

Update the tracker, find the new most likely bounding box for the target

Link to this section cv

Link to this function

init(self, image, boundingBox)

View Source

Initialize the tracker with a known bounding box that surrounded the target

Positional Arguments
  • image: Evision.Mat.

    The initial frame

  • boundingBox: Rect.

    The initial bounding box

Python prototype (for reference):

init(image, boundingBox) -> None

Update the tracker, find the new most likely bounding box for the target

Positional Arguments
Return
  • boundingBox: Rect.

    The bounding box that represent the new target location, if true was returned, not modified otherwise

@return True means that target was located and false means that tracker cannot locate target in current frame. Note, that latter does not imply that tracker has failed, maybe target is indeed missing from the frame (say, out of sight)

Python prototype (for reference):

update(image) -> retval, boundingBox

Link to this section Functions

Link to this function

init!(self, image, boundingBox)

View Source

Raising version of init/3.

Raising version of update/2.