| TrackerUpdate Method |
Update the tracker, find the new most likely bounding box for the target
Namespace:
OpenCvSharp.Tracking
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax public bool Update(
Mat image,
ref Rect2d boundingBox
)
Public Function Update (
image As Mat,
ByRef boundingBox As Rect2d
) As Boolean
public:
bool Update(
Mat^ image,
Rect2d% boundingBox
)
member Update :
image : Mat *
boundingBox : Rect2d byref -> bool
Parameters
- image
- Type: OpenCvSharpMat
The current frame - boundingBox
- Type: OpenCvSharpRect2d
The boundig box that represent the new target location, if true was returned, not modified otherwise
Return Value
Type:
BooleanTrue 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)
See Also