Method Update
- Namespace
- OpenCvSharp
- Assembly
- OpenCvSharp.dll
Update(Mat, ref Rect)
Update the tracker, find the new most likely bounding box for the target
public bool Update(Mat image, ref Rect boundingBox)
Parameters
imageMatThe current frame
boundingBoxRectThe bounding box that represent the new target location, if true was returned, not modified otherwise
Returns
- bool
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)