OpenCV453
公開メンバ関数 | 限定公開メンバ関数 | 限定公開変数類 | 全メンバ一覧
cv::legacy::tracking::Tracker クラスabstract

Base abstract class for the long-term tracker: [詳解]

#include <tracking_legacy.hpp>

cv::Algorithmを継承しています。

公開メンバ関数

CV_WRAP bool init (InputArray image, const Rect2d &boundingBox)
 Initialize the tracker with a known bounding box that surrounded the target [詳解]
 
CV_WRAP bool update (InputArray image, CV_OUT Rect2d &boundingBox)
 Update the tracker, find the new most likely bounding box for the target [詳解]
 
virtual void read (const FileNode &fn) CV_OVERRIDE=0
 Reads algorithm parameters from a file storage [詳解]
 
virtual void write (FileStorage &fs) const CV_OVERRIDE=0
 Stores algorithm parameters in a file storage [詳解]
 
- 基底クラス cv::Algorithm に属する継承公開メンバ関数
virtual CV_WRAP void clear ()
 Clears the algorithm state [詳解]
 
CV_WRAP void write (const Ptr< FileStorage > &fs, const String &name=String()) const
 simplified API for language bindings これはオーバーロードされたメンバ関数です。利便性のために用意されています。元の関数との違いは引き数のみです。
 
virtual CV_WRAP bool empty () const
 Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read [詳解]
 
virtual CV_WRAP void save (const String &filename) const
 
virtual CV_WRAP String getDefaultName () const
 

限定公開メンバ関数

virtual bool initImpl (const Mat &image, const Rect2d &boundingBox)=0
 
virtual bool updateImpl (const Mat &image, Rect2d &boundingBox)=0
 
- 基底クラス cv::Algorithm に属する継承限定公開メンバ関数
void writeFormat (FileStorage &fs) const
 

限定公開変数類

bool isInit
 
Ptr< TrackerContribFeatureSetfeatureSet
 
Ptr< TrackerContribSamplersampler
 
Ptr< TrackerModelmodel
 

その他の継承メンバ

- 基底クラス cv::Algorithm に属する継承静的公開メンバ関数
template<typename _Tp >
static Ptr< _Tp > read (const FileNode &fn)
 Reads algorithm from the file node [詳解]
 
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 [詳解]
 

詳解

Base abstract class for the long-term tracker:

関数詳解

◆ init()

CV_WRAP bool cv::legacy::tracking::Tracker::init ( InputArray  image,
const Rect2d boundingBox 
)

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

引数
imageThe initial frame
boundingBoxThe initial bounding box
戻り値
True if initialization went succesfully, false otherwise

◆ read()

virtual void cv::legacy::tracking::Tracker::read ( const FileNode fn)
pure virtual

Reads algorithm parameters from a file storage

cv::Algorithmを再実装しています。

◆ update()

CV_WRAP bool cv::legacy::tracking::Tracker::update ( InputArray  image,
CV_OUT Rect2d boundingBox 
)

Update the tracker, find the new most likely bounding box for the target

引数
imageThe current frame
boundingBoxThe bounding box that represent the new target location, if true was returned, not modified otherwise
戻り値
True means that target was located and false means that tracker cannot locate target in current frame. Note, that latter does not imply that tracker has failed, maybe target is indeed missing from the frame (say, out of sight)

◆ write()

virtual void cv::legacy::tracking::Tracker::write ( FileStorage fs) const
pure virtual

Stores algorithm parameters in a file storage

cv::Algorithmを再実装しています。


このクラス詳解は次のファイルから抽出されました: