Package org.opencv.video
Class TrackerVit
- java.lang.Object
-
- org.opencv.video.Tracker
-
- org.opencv.video.TrackerVit
-
public class TrackerVit extends Tracker
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: https://github.com/opencv/opencv_zoo/tree/main/models/object_tracking_vittrack Author: PengyuLiu, 1872918507@qq.com
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
TrackerVit(long addr)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TrackerVit
__fromPtr__(long addr)
static TrackerVit
create()
Constructorstatic TrackerVit
create(TrackerVit_Params parameters)
Constructorprotected void
finalize()
float
getTrackingScore()
Return tracking score-
Methods inherited from class org.opencv.video.Tracker
getNativeObjAddr, init, update
-
-
-
-
Method Detail
-
__fromPtr__
public static TrackerVit __fromPtr__(long addr)
-
create
public static TrackerVit create(TrackerVit_Params parameters)
Constructor- Parameters:
parameters
- vit tracker parameters TrackerVit::Params- Returns:
- automatically generated
-
create
public static TrackerVit create()
Constructor- Returns:
- automatically generated
-
getTrackingScore
public float getTrackingScore()
Return tracking score- Returns:
- automatically generated
-
-