Click or drag to resize

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
)

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: Boolean
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)
See Also