Loading...
Searching...
No Matches
cv::legacy::TrackerMedianFlow Class Reference
the Median Flow tracker More...
#include <opencv2/tracking/tracking_legacy.hpp>
Inheritance diagram for cv::legacy::TrackerMedianFlow:

Classes | |
struct | Params |
Public Member Functions | |
virtual | ~TrackerMedianFlow () CV_OVERRIDE |
![]() | |
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. | |
![]() | |
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 | read (const FileNode &fn) |
Reads algorithm parameters from a file storage. | |
virtual void | save (const String &filename) const |
void | write (const Ptr< FileStorage > &fs, const String &name=String()) const |
virtual void | write (FileStorage &fs) const |
Stores algorithm parameters in a file storage. | |
void | write (FileStorage &fs, const String &name) const |
Static Public Member Functions | |
static Ptr< legacy::TrackerMedianFlow > | create () |
static Ptr< legacy::TrackerMedianFlow > | create (const TrackerMedianFlow::Params ¶meters) |
Constructor. | |
![]() | |
template<typename _Tp > | |
static Ptr< _Tp > | load (const String &filename, const String &objname=String()) |
Loads algorithm from the file. | |
template<typename _Tp > | |
static Ptr< _Tp > | loadFromString (const String &strModel, const String &objname=String()) |
Loads algorithm from a String. | |
template<typename _Tp > | |
static Ptr< _Tp > | read (const FileNode &fn) |
Reads algorithm from the file node. | |
Additional Inherited Members | |
![]() | |
virtual bool | initImpl (const Mat &image, const Rect2d &boundingBox)=0 |
virtual bool | updateImpl (const Mat &image, Rect2d &boundingBox)=0 |
![]() | |
void | writeFormat (FileStorage &fs) const |
![]() | |
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()
|
inlinevirtual |
Member Function Documentation
◆ create() [1/2]
|
static |
◆ create() [2/2]
|
static |
Constructor.
- Parameters
-
parameters Median Flow parameters TrackerMedianFlow::Params
The documentation for this class was generated from the following file:
- opencv2/tracking/tracking_legacy.hpp