Class cv::TrackerKCF#

the [138] (Kernelized Correlation Filter) tracker View details

Collaboration diagram for cv::TrackerKCF:

Public Types#

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

enum MODE {
    GRAY = (1 << 0),
    CN = (1 << 1),
    CUSTOM = (1 << 2)
}

Public Member Functions#

Public Member Functions inherited from cv::Tracker

Return

Name

Description

~Tracker()

float

getTrackingScore()

Return tracking score.

void

init(
    InputArray image,
    const Rect & boundingBox )

Initialize the tracker with a known bounding box that surrounded the target.

bool

update(
    InputArray image,
    Rect & boundingBox )

Update the tracker, find the new most likely bounding box for the target.

Additional Inherited Members#

Protected Member Functions inherited from cv::Tracker

Return

Name

Description

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 KCF_ECCV which is extended to KCF with color-names features (KCF_CN). 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#

enum MODE

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

GRAY
Python: cv.TrackerKCF_GRAY

CN
Python: cv.TrackerKCF_CN

CUSTOM
Python: cv.TrackerKCF_CUSTOM

Constructor & Destructor Documentation#

TrackerKCF()#

cv::TrackerKCF::TrackerKCF()

~TrackerKCF()#

cv::TrackerKCF::~TrackerKCF()

Member Function Documentation#

setFeatureExtractor()#

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

create()#

static Ptr< TrackerKCF > cv::TrackerKCF::create(const TrackerKCF::Params & parameters = TrackerKCF::Params())

Python:

cv.TrackerKCF.create([, parameters]) -> retval
cv.TrackerKCF_create([, parameters]) -> retval

Create [138] tracker instance.

Parameters

Source file#

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