Class cv::legacy::TrackerCSRT#

the CSRT tracker View details

Collaboration diagram for cv::legacy::TrackerCSRT:

Public Member Functions#

Public Member Functions inherited from cv::legacy::Tracker

Return

Name

Description

Tracker()

~Tracker()

bool

init(
    InputArray image,
    const Rect2d & boundingBox )

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

void

read(const FileNode & fn)

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.

void

write(FileStorage & fs)

Stores algorithm parameters in a file storage.

Public Member Functions inherited from cv::Algorithm

Return

Name

Description

Algorithm()

~Algorithm()

void

clear()

Clears the algorithm state.

bool

empty()

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read.

String

getDefaultName()

void

read(const FileNode & fn)

Reads algorithm parameters from a file storage.

void

save(const String & filename)

void

write(
    const Ptr< FileStorage > & fs,
    const String & name = String() )

void

write(FileStorage & fs)

Stores algorithm parameters in a file storage.

void

write(
    FileStorage & fs,
    const String & name )

Static Public Member Functions#

Static Public Member Functions inherited from cv::Algorithm

Return

Name

Description

static Ptr< _Tp >

load(
    const String & filename,
    const String & objname = String() )

Loads algorithm from the file.

static Ptr< _Tp >

loadFromString(
    const String & strModel,
    const String & objname = String() )

Loads algorithm from a String.

static Ptr< _Tp >

read(const FileNode & fn)

Reads algorithm from the file node.

Additional Inherited Members#

Protected Member Functions inherited from cv::legacy::Tracker
Protected Member Functions inherited from cv::Algorithm

Return

Name

Description

void

writeFormat(FileStorage & fs)

Protected Attributes inherited from cv::legacy::Tracker

Return

Name

Description

Ptr< TrackerContribFeatureSet >

featureSet

bool

isInit

Ptr< TrackerModel >

model

Ptr< TrackerContribSampler >

sampler

Detailed Description#

the CSRT tracker

The implementation is based on Lukezic_IJCV2018 Discriminative Correlation Filter with Channel and Spatial Reliability

Constructor & Destructor Documentation#

~TrackerCSRT()#

cv::legacy::TrackerCSRT::~TrackerCSRT()

Member Function Documentation#

create()#

static Ptr< legacy::TrackerCSRT > cv::legacy::TrackerCSRT::create()

Python:

cv.legacy.TrackerCSRT.create() -> retval
cv.legacy.TrackerCSRT_create() -> retval

create()#

static Ptr< legacy::TrackerCSRT > cv::legacy::TrackerCSRT::create(const TrackerCSRT::Params & parameters)

Python:

cv.legacy.TrackerCSRT.create() -> retval
cv.legacy.TrackerCSRT_create() -> retval

Constructor.

Parameters

setInitialMask()#

void cv::legacy::TrackerCSRT::setInitialMask(InputArray mask)

Python:

cv.legacy.TrackerCSRT.setInitialMask(mask)

Source file#

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