Table of Contents

Method UpdateOpt

Namespace
OpenCvSharp.Tracking.Legacy
Assembly
OpenCvSharp.dll

UpdateOpt(Mat)

Update all trackers from the tracking-list, finding new most likely bounding boxes for the targets using an optimized update method that speeds up calculations specifically for multi-object TLD. The only limitation is that all target bounding boxes should have approximately the same aspect ratio. Speed boost is around 20%.

public bool UpdateOpt(Mat image)

Parameters

image Mat

The current frame.

Returns

bool

True means that all targets were located and false means that tracker couldn't locate one of the targets in the current frame. Note that the latter does not imply that tracker has failed - the target may indeed be missing from the frame (say, out of sight).