EstervQrCode 2.0.0
Library for qr code manipulation
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | List of all members
cv::Tracker Class Referenceabstract

Base abstract class for the long-term tracker. More...

#include <tracking.hpp>

Inheritance diagram for cv::Tracker:
cv::TrackerDaSiamRPN cv::TrackerGOTURN cv::TrackerMIL cv::TrackerNano cv::TrackerVit

Public Member Functions

virtual ~Tracker ()
 
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.
 

Protected Member Functions

 Tracker ()
 

Detailed Description

Base abstract class for the long-term tracker.

Constructor & Destructor Documentation

◆ Tracker()

cv::Tracker::Tracker ( )
protected

◆ ~Tracker()

virtual cv::Tracker::~Tracker ( )
virtual

Member Function Documentation

◆ 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.

Parameters
imageThe initial frame
boundingBoxThe 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.

Parameters
imageThe current frame
boundingBoxThe bounding box that represent the new target location, if true was returned, not modified otherwise
Returns
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)

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