cv::TrackerKCF Class ReferenceabstractTracking API
the KCF (Kernelized Correlation Filter) tracker More...
#include <opencv2/tracking.hpp>
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. | |
| virtual bool | update (InputArray image, Rect &boundingBox)=0 |
| Update the tracker, find the new most likely bounding box for the target. | |
Static Public Member Functions | |
| static Ptr< TrackerKCF > | create (const TrackerKCF::Params ¶meters=TrackerKCF::Params()) |
| Create KCF tracker instance. | |
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 [126] which is extended to KCF with color-names features ([67]). 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
Member Enumeration Documentation
MODE
| enum cv::TrackerKCF::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()
| protected |
~TrackerKCF()
| virtual |
Member Function Documentation
create()
| static |
| Python: | ||||
|---|---|---|---|---|
| cv.TrackerKCF.create( | [, parameters] | ) -> | retval | |
| cv.TrackerKCF_create( | [, parameters] | ) -> | retval |
Create KCF tracker instance.
- Parameters
-
parameters KCF parameters TrackerKCF::Params
setFeatureExtractor()
| pure virtual |
The documentation for this class was generated from the following file:
- opencv2/tracking.hpp
Public Member Functions inherited from