Class cv::legacy::TrackerMedianFlow#

the Median Flow tracker View details

Collaboration diagram for cv::legacy::TrackerMedianFlow:

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 Median Flow tracker

Implementation of a paper MedianFlow .

The tracker is suitable for very smooth and predictable movements when object is visible throughout the whole sequence. It’s quite and accurate for this type of problems (in particular, it was shown by authors to outperform MIL). During the implementation period the code at http://www.aonsquared.co.uk/node/5, the courtesy of the author Arthur Amarra, was used for the reference purpose.

Constructor & Destructor Documentation#

~TrackerMedianFlow()#

cv::legacy::TrackerMedianFlow::~TrackerMedianFlow()

Member Function Documentation#

create()#

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

Python:

cv.legacy.TrackerMedianFlow.create() -> retval
cv.legacy.TrackerMedianFlow_create() -> retval

create()#

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

Python:

cv.legacy.TrackerMedianFlow.create() -> retval
cv.legacy.TrackerMedianFlow_create() -> retval

Constructor.

Parameters

Source file#

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