Base abstract class for the long-term tracker
[詳解]
#include <tracking.hpp>
cv::TrackerDaSiamRPN, cv::TrackerGOTURN, cv::TrackerMIL, cv::tracking::TrackerCSRT, cv::tracking::TrackerKCFに継承されています。
|
virtual CV_WRAP void | init (InputArray image, const Rect &boundingBox)=0 |
| Initialize the tracker with a known bounding box that surrounded the target [詳解]
|
|
virtual CV_WRAP bool | update (InputArray image, CV_OUT Rect &boundingBox)=0 |
| Update the tracker, find the new most likely bounding box for the target [詳解]
|
|
Base abstract class for the long-term tracker
◆ init()
virtual CV_WRAP void cv::Tracker::init |
( |
InputArray |
image, |
|
|
const Rect & |
boundingBox |
|
) |
| |
|
pure virtual |
Initialize the tracker with a known bounding box that surrounded the target
- 引数
-
image | The initial frame |
boundingBox | The initial bounding box |
◆ update()
virtual CV_WRAP bool cv::Tracker::update |
( |
InputArray |
image, |
|
|
CV_OUT Rect & |
boundingBox |
|
) |
| |
|
pure virtual |
Update the tracker, find the new most likely bounding box for the target
- 引数
-
image | The current frame |
boundingBox | The 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)
このクラス詳解は次のファイルから抽出されました: