OpenCV  5.0.0alpha
Open Source Computer Vision
Loading...
Searching...
No Matches
cv::legacy::TrackerCSRT Class Referenceabstract

the CSRT tracker More...

#include <opencv2/tracking/tracking_legacy.hpp>

Collaboration diagram for cv::legacy::TrackerCSRT:

Classes

struct  Params
 

Public Member Functions

virtual ~TrackerCSRT () CV_OVERRIDE
 
virtual void setInitialMask (InputArray mask)=0
 
- Public Member Functions inherited from cv::legacy::Tracker
 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 (FileStorage &fs, const String &name) const
 

Static Public Member Functions

static Ptr< legacy::TrackerCSRTcreate ()
 
static Ptr< legacy::TrackerCSRTcreate (const TrackerCSRT::Params &parameters)
 Constructor.
 
- Static Public Member Functions inherited from cv::Algorithm
template<typename _Tp >
static Ptr< _Tpload (const String &filename, const String &objname=String())
 Loads algorithm from the file.
 
template<typename _Tp >
static Ptr< _TploadFromString (const String &strModel, const String &objname=String())
 Loads algorithm from a String.
 
template<typename _Tp >
static Ptr< _Tpread (const FileNode &fn)
 Reads algorithm from the file node.
 

Additional Inherited Members

- Protected Member Functions inherited from cv::legacy::Tracker
virtual bool initImpl (const Mat &image, const Rect2d &boundingBox)=0
 
virtual bool updateImpl (const Mat &image, Rect2d &boundingBox)=0
 
- Protected Member Functions inherited from cv::Algorithm
void writeFormat (FileStorage &fs) const
 
- Protected Attributes inherited from cv::legacy::Tracker
Ptr< TrackerContribFeatureSetfeatureSet
 
bool isInit
 
Ptr< TrackerModelmodel
 
Ptr< TrackerContribSamplersampler
 

Detailed Description

the CSRT tracker

The implementation is based on [177] Discriminative Correlation Filter with Channel and Spatial Reliability

Constructor & Destructor Documentation

◆ ~TrackerCSRT()

virtual cv::legacy::TrackerCSRT::~TrackerCSRT ( )
inlinevirtual

Member Function Documentation

◆ create() [1/2]

static Ptr< legacy::TrackerCSRT > cv::legacy::TrackerCSRT::create ( )
static
Python:
cv.legacy.TrackerCSRT.create() -> retval
cv.legacy.TrackerCSRT_create() -> retval

◆ create() [2/2]

static Ptr< legacy::TrackerCSRT > cv::legacy::TrackerCSRT::create ( const TrackerCSRT::Params & parameters)
static
Python:
cv.legacy.TrackerCSRT.create() -> retval
cv.legacy.TrackerCSRT_create() -> retval

Constructor.

Parameters
parametersCSRT parameters TrackerCSRT::Params

◆ setInitialMask()

virtual void cv::legacy::TrackerCSRT::setInitialMask ( InputArray mask)
pure virtual
Python:
cv.legacy.TrackerCSRT.setInitialMask(mask) -> None

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