OpenCV  4.8.0
Open Source Computer Vision
Classes | Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
cv::TrackerKCF Class Referenceabstract

the KCF (Kernelized Correlation Filter) tracker More...

#include <opencv2/tracking.hpp>

Inheritance diagram for cv::TrackerKCF:
cv::Tracker

Classes

struct  Params
 

Public Types

typedef void(* FeatureExtractorCallbackFN) (const Mat, const Rect, Mat &)
 
enum  MODE {
  GRAY = (1 << 0),
  CN = (1 << 1),
  CUSTOM = (1 << 2)
}
 Feature type to be used in the tracking grayscale, colornames, compressed color-names The modes available now: More...
 

Public Member Functions

virtual ~TrackerKCF () CV_OVERRIDE
 
virtual void setFeatureExtractor (FeatureExtractorCallbackFN callback, bool pca_func=false)=0
 
- Public Member Functions inherited from cv::Tracker
virtual ~Tracker ()
 
virtual void init (InputArray image, const Rect &boundingBox)=0
 Initialize the tracker with a known bounding box that surrounded the target. More...
 
virtual bool update (InputArray image, Rect &boundingBox)=0
 Update the tracker, find the new most likely bounding box for the target. More...
 

Static Public Member Functions

static Ptr< TrackerKCFcreate (const TrackerKCF::Params &parameters=TrackerKCF::Params())
 Create KCF tracker instance. More...
 

Protected Member Functions

 TrackerKCF ()
 
- Protected Member Functions inherited from cv::Tracker
 Tracker ()
 

Detailed Description

the KCF (Kernelized Correlation Filter) tracker

KCF is a novel tracking framework that utilizes properties of circulant matrix to enhance the processing speed. This tracking method is an implementation of [112] which is extended to KCF with color-names features ([55]). The original paper of KCF is available at http://www.robots.ox.ac.uk/~joao/publications/henriques_tpami2015.pdf as well as the matlab implementation. For more information about KCF with color-names features, please refer to http://www.cvl.isy.liu.se/research/objrec/visualtracking/colvistrack/index.html.

Member Typedef Documentation

◆ FeatureExtractorCallbackFN

typedef void(* cv::TrackerKCF::FeatureExtractorCallbackFN) (const Mat, const Rect, Mat &)

Member Enumeration Documentation

◆ MODE

Feature type to be used in the tracking grayscale, colornames, compressed color-names The modes available now:

  • "GRAY" – Use grayscale values as the feature
  • "CN" – Color-names feature
Enumerator
GRAY 
CN 
CUSTOM 

Constructor & Destructor Documentation

◆ TrackerKCF()

cv::TrackerKCF::TrackerKCF ( )
protected

◆ ~TrackerKCF()

virtual cv::TrackerKCF::~TrackerKCF ( )
virtual

Member Function Documentation

◆ create()

static Ptr<TrackerKCF> cv::TrackerKCF::create ( const TrackerKCF::Params parameters = TrackerKCF::Params())
static
Python:
cv.TrackerKCF.create([, parameters]) -> retval
cv.TrackerKCF_create([, parameters]) -> retval

Create KCF tracker instance.

Parameters
parametersKCF parameters TrackerKCF::Params

◆ setFeatureExtractor()

virtual void cv::TrackerKCF::setFeatureExtractor ( FeatureExtractorCallbackFN  callback,
bool  pca_func = false 
)
pure virtual

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