Package org.opencv.video
Class TrackerVit
java.lang.Object
org.opencv.video.Tracker
org.opencv.video.TrackerVit
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
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic TrackerVit__fromPtr__(long addr) static TrackerVitcreate()Constructorstatic TrackerVitcreate(TrackerVit_Params parameters) Constructorprotected voidfinalize()floatReturn tracking scoreMethods inherited from class org.opencv.video.Tracker
getNativeObjAddr, init, update
-
Constructor Details
-
TrackerVit
protected TrackerVit(long addr)
-
-
Method Details
-
__fromPtr__
-
create
Constructor- Parameters:
parameters- vit tracker parameters TrackerVit::Params- Returns:
- automatically generated
-
create
Constructor- Returns:
- automatically generated
-
getTrackingScore
public float getTrackingScore()Return tracking score- Returns:
- automatically generated
-
finalize
-