OpenCV  4.1.0
Open Source Computer Vision
Classes | Public Member Functions | Static Public Member Functions | List of all members
cv::TrackerTLD Class Reference

the TLD (Tracking, learning and detection) tracker More...

#include <opencv2/tracking/tracker.hpp>

Inheritance diagram for cv::TrackerTLD:
cv::Tracker cv::Algorithm

Classes

struct  Params
 

Public Member Functions

virtual ~TrackerTLD () CV_OVERRIDE
 
- Public Member Functions inherited from cv::Tracker
virtual ~Tracker () CV_OVERRIDE
 
bool init (InputArray image, const Rect2d &boundingBox)
 Initialize the tracker with a known bounding box that surrounded the target.
 
virtual void read (const FileNode &fn) CV_OVERRIDE=0
 Reads algorithm parameters from a file storage.
 
bool update (InputArray image, Rect2d &boundingBox)
 Update the tracker, find the new most likely bounding box for the target.
 
virtual void write (FileStorage &fs) const CV_OVERRIDE=0
 Stores algorithm parameters in a file storage.
 
- Public Member Functions inherited from cv::Algorithm
 Algorithm ()
 
virtual ~Algorithm ()
 
virtual void clear ()
 Clears the algorithm state.
 
virtual bool empty () const
 Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read.
 
virtual String getDefaultName () const
 
virtual void save (const String &filename) const
 
void write (const Ptr< FileStorage > &fs, const String &name=String()) const
 simplified API for language bindingsThis is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
 

Static Public Member Functions

static Ptr< TrackerTLDcreate (const TrackerTLD::Params &parameters)
 Constructor.
 
static Ptr< TrackerTLDcreate ()
 

Additional Inherited Members

- Protected Member Functions inherited from cv::Tracker
virtual bool initImpl (const Mat &image, const Rect2d &boundingBox)=0
 
virtual bool updateImpl (const Mat &image, Rect2d &boundingBox)=0
 
- Protected Attributes inherited from cv::Tracker
Ptr< TrackerFeatureSetfeatureSet
 
bool isInit
 
Ptr< TrackerModelmodel
 
Ptr< TrackerSamplersampler
 

Detailed Description

the TLD (Tracking, learning and detection) tracker

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 onTLD .

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.

Constructor & Destructor Documentation

virtual cv::TrackerTLD::~TrackerTLD ( )
inlinevirtual

Member Function Documentation

static Ptr<TrackerTLD> cv::TrackerTLD::create ( const TrackerTLD::Params parameters)
static
Python:
retval=cv.TrackerTLD_create()

Constructor.

Parameters
parametersTLD parameters TrackerTLD::Params
static Ptr<TrackerTLD> cv::TrackerTLD::create ( )
static
Python:
retval=cv.TrackerTLD_create()

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