OpenCV  4.8.0-dev
Open Source Computer Vision
Classes | Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
cv::TrackerVit Class Referenceabstract

the VIT tracker is a super lightweight dnn-based general object tracking. More...

#include <opencv2/video/tracking.hpp>

Inheritance diagram for cv::TrackerVit:


struct  Params

Public Member Functions

virtual ~TrackerVit () CV_OVERRIDE
virtual float getTrackingScore ()=0
 Return tracking score. More...
- 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. More...
virtual bool update (InputArray image, Rect &boundingBox)=0
 Update the tracker, find the new most likely bounding box for the target. More...

Static Public Member Functions

static Ptr< TrackerVitcreate (const TrackerVit::Params &parameters=TrackerVit::Params())
 Constructor. More...

Protected Member Functions

 TrackerVit ()
- Protected Member Functions inherited from cv::Tracker
 Tracker ()

Detailed Description

the VIT tracker is a super lightweight dnn-based general object tracking.

VIT tracker is much faster and extremely lightweight due to special model structure, the model file is about 767KB. Model download link: Author: PengyuLiu,

Constructor & Destructor Documentation

◆ TrackerVit()

cv::TrackerVit::TrackerVit ( )

◆ ~TrackerVit()

virtual cv::TrackerVit::~TrackerVit ( )

Member Function Documentation

◆ create()

static Ptr<TrackerVit> cv::TrackerVit::create ( const TrackerVit::Params parameters = TrackerVit::Params())
cv.TrackerVit.create([, parameters]) -> retval
cv.TrackerVit_create([, parameters]) -> retval


parametersvit tracker parameters TrackerVit::Params

◆ getTrackingScore()

virtual float cv::TrackerVit::getTrackingScore ( )
pure virtual
cv.TrackerVit.getTrackingScore() -> retval

Return tracking score.

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