OpenCV 5.0.0-pre
Open Source Computer Vision
Loading...
Searching...
No Matches
cv::legacy::MultiTrackerTLD Class Reference

Multi Object Tracker for TLD. More...

#include <opencv2/tracking/tracking_legacy.hpp>

Collaboration diagram for cv::legacy::MultiTrackerTLD:

Public Member Functions

bool update_opt (InputArray image)
 Update all trackers from the tracking-list, find a new most likely bounding boxes for the targets by optimized update method using some techniques to speedup calculations specifically for MO TLD. The only limitation is that all target bounding boxes should have approximately same aspect ratios. Speed boost is around 20%.
 
- Public Member Functions inherited from cv::legacy::MultiTracker_Alt
 MultiTracker_Alt ()
 Constructor for Multitracker.
 
bool addTarget (InputArray image, const Rect2d &boundingBox, Ptr< legacy::Tracker > tracker_algorithm)
 Add a new target to a tracking-list and initialize the tracker with a known bounding box that surrounded the target.
 
bool update (InputArray image)
 Update all trackers from the tracking-list, find a new most likely bounding boxes for the targets.
 

Additional Inherited Members

- Public Attributes inherited from cv::legacy::MultiTracker_Alt
std::vector< Rect2dboundingBoxes
 Bounding Boxes list for Multi-Object-Tracker.
 
std::vector< Scalarcolors
 List of randomly generated colors for bounding boxes display.
 
int targetNum
 Current number of targets in tracking-list.
 
std::vector< Ptr< Tracker > > trackers
 Trackers list for Multi-Object-Tracker.
 

Detailed Description

Multi Object Tracker for TLD.

TLD is a novel tracking framework that explicitly decomposes the long-term tracking task into tracking, learning and detection.

The tracker follows the object from frame to frame. The detector localizes all appearances that have been observed so far and corrects the tracker if necessary. The learning estimates detector's errors and updates it to avoid these errors in the future. The implementation is based on [141] .

The Median Flow algorithm (see cv::TrackerMedianFlow) was chosen as a tracking component in this implementation, following authors. The tracker is supposed to be able to handle rapid motions, partial occlusions, object absence etc.

See also
Tracker, MultiTracker, TrackerTLD

Member Function Documentation

◆ update_opt()

bool cv::legacy::MultiTrackerTLD::update_opt ( InputArray image)

Update all trackers from the tracking-list, find a new most likely bounding boxes for the targets by optimized update method using some techniques to speedup calculations specifically for MO TLD. The only limitation is that all target bounding boxes should have approximately same aspect ratios. Speed boost is around 20%.

Parameters
imageThe current frame.
Returns
True means that all targets were located and false means that tracker couldn't locate one of the targets 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)

The documentation for this class was generated from the following file: