OpenCV  3.3.0
Open Source Computer Vision
Classes | Public Member Functions | Static Public Member Functions | List of all members
cv::TrackerMIL Class Reference

The MIL algorithm trains a classifier in an online manner to separate the object from the background. More...

#include "tracker.hpp"

Inheritance diagram for cv::TrackerMIL:
cv::Tracker cv::Algorithm

Classes

struct  Params
 

Public Member Functions

virtual ~TrackerMIL ()
 
- Public Member Functions inherited from cv::Tracker
virtual ~Tracker ()
 
bool init (InputArray image, const Rect2d &boundingBox)
 Initialize the tracker with a know bounding box that surrounding the target. More...
 
virtual void read (const FileNode &fn)=0
 Reads algorithm parameters from a file storage. More...
 
bool update (InputArray image, Rect2d &boundingBox)
 Update the tracker, find the new most likely bounding box for the target. More...
 
virtual void write (FileStorage &fs) const =0
 Stores algorithm parameters in a file storage. More...
 
- Public Member Functions inherited from cv::Algorithm
 Algorithm ()
 
virtual ~Algorithm ()
 
virtual void clear ()
 Clears the algorithm state. More...
 
virtual bool empty () const
 Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read. More...
 
virtual String getDefaultName () const
 
virtual void save (const String &filename) const
 

Static Public Member Functions

static Ptr< TrackerMILcreate (const TrackerMIL::Params &parameters)
 Constructor. More...
 
static Ptr< TrackerMILcreate ()
 
- Static Public Member Functions inherited from cv::Algorithm
template<typename _Tp >
static Ptr< _Tp > load (const String &filename, const String &objname=String())
 Loads algorithm from the file. More...
 
template<typename _Tp >
static Ptr< _Tp > loadFromString (const String &strModel, const String &objname=String())
 Loads algorithm from a String. More...
 
template<typename _Tp >
static Ptr< _Tp > read (const FileNode &fn)
 Reads algorithm from the file node. More...
 

Additional Inherited Members

- Protected Member Functions inherited from cv::Tracker
virtual bool initImpl (const Mat &image, const Rect2d &boundingBox)=0
 
virtual bool updateImpl (const Mat &image, Rect2d &boundingBox)=0
 
- Protected Member Functions inherited from cv::Algorithm
void writeFormat (FileStorage &fs) const
 
- Protected Attributes inherited from cv::Tracker
Ptr< TrackerFeatureSetfeatureSet
 
bool isInit
 
Ptr< TrackerModelmodel
 
Ptr< TrackerSamplersampler
 

Detailed Description

The MIL algorithm trains a classifier in an online manner to separate the object from the background.

Multiple Instance Learning avoids the drift problem for a robust tracking. The implementation is based on [7] .

Original code can be found here http://vision.ucsd.edu/~bbabenko/project_miltrack.shtml

Constructor & Destructor Documentation

§ ~TrackerMIL()

virtual cv::TrackerMIL::~TrackerMIL ( )
inlinevirtual

Member Function Documentation

§ create() [1/2]

static Ptr<TrackerMIL> cv::TrackerMIL::create ( const TrackerMIL::Params parameters)
static

Constructor.

Parameters
parametersMIL parameters TrackerMIL::Params

§ create() [2/2]

static Ptr<TrackerMIL> cv::TrackerMIL::create ( )
static

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