the VIT tracker is a super lightweight dnn-based general object tracking.
More...
|
float | getTrackingScore () |
| Return tracking score.
|
|
IntPtr | getNativeObjAddr () |
|
void | init (Mat image, in Vec4i boundingBox) |
| Initialize the tracker with a known bounding box that surrounded the target.
|
|
void | init (Mat image, in(int x, int y, int width, int height) boundingBox) |
| Initialize the tracker with a known bounding box that surrounded the target.
|
|
void | init (Mat image, Rect boundingBox) |
| Initialize the tracker with a known bounding box that surrounded the target.
|
|
bool | update (Mat image, out Vec4i boundingBox) |
| Update the tracker, find the new most likely bounding box for the target.
|
|
bool | update (Mat image, out(int x, int y, int width, int height) boundingBox) |
| Update the tracker, find the new most likely bounding box for the target.
|
|
bool | update (Mat image, Rect boundingBox) |
| Update the tracker, find the new most likely bounding box for the target.
|
|
void | Dispose () |
|
void | ThrowIfDisposed () |
|
|
static new TrackerVit | __fromPtr__ (IntPtr addr) |
|
static TrackerVit | create () |
| Constructor.
|
|
static TrackerVit | create (Net model) |
| Constructor.
|
|
static TrackerVit | create (Net model, in Vec4d meanvalue) |
| Constructor.
|
|
static TrackerVit | create (Net model, in Vec4d meanvalue, in Vec4d stdvalue) |
| Constructor.
|
|
static TrackerVit | create (Net model, in Vec4d meanvalue, in Vec4d stdvalue, float tracking_score_threshold) |
| Constructor.
|
|
static TrackerVit | create (Net model, in(double v0, double v1, double v2, double v3) meanvalue) |
| Constructor.
|
|
static TrackerVit | create (Net model, in(double v0, double v1, double v2, double v3) meanvalue, in(double v0, double v1, double v2, double v3) stdvalue) |
| Constructor.
|
|
static TrackerVit | create (Net model, in(double v0, double v1, double v2, double v3) meanvalue, in(double v0, double v1, double v2, double v3) stdvalue, float tracking_score_threshold) |
| Constructor.
|
|
static TrackerVit | create (Net model, Scalar meanvalue) |
| Constructor.
|
|
static TrackerVit | create (Net model, Scalar meanvalue, Scalar stdvalue) |
| Constructor.
|
|
static TrackerVit | create (Net model, Scalar meanvalue, Scalar stdvalue, float tracking_score_threshold) |
| Constructor.
|
|
static TrackerVit | create (TrackerVit_Params parameters) |
| Constructor.
|
|
static Tracker | __fromPtr__ (IntPtr addr) |
|
static IntPtr | ThrowIfNullIntPtr (IntPtr ptr) |
|
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, 18729.nosp@m.1850.nosp@m.7@qq..nosp@m.com
◆ __fromPtr__()
static new TrackerVit OpenCVForUnity.VideoModule.TrackerVit.__fromPtr__ |
( |
IntPtr | addr | ) |
|
|
static |
◆ create() [1/12]
static TrackerVit OpenCVForUnity.VideoModule.TrackerVit.create |
( |
| ) |
|
|
static |
Constructor.
- Parameters
-
parameters | vit tracker parameters TrackerVit::Params |
◆ create() [2/12]
static TrackerVit OpenCVForUnity.VideoModule.TrackerVit.create |
( |
Net | model | ) |
|
|
static |
Constructor.
- Parameters
-
model | pre-loaded DNN model |
meanvalue | mean value for image preprocessing |
stdvalue | std value for image preprocessing |
tracking_score_threshold | threshold for tracking score |
◆ create() [3/12]
static TrackerVit OpenCVForUnity.VideoModule.TrackerVit.create |
( |
Net | model, |
|
|
in Vec4d | meanvalue ) |
|
static |
Constructor.
- Parameters
-
model | pre-loaded DNN model |
meanvalue | mean value for image preprocessing |
stdvalue | std value for image preprocessing |
tracking_score_threshold | threshold for tracking score |
◆ create() [4/12]
static TrackerVit OpenCVForUnity.VideoModule.TrackerVit.create |
( |
Net | model, |
|
|
in Vec4d | meanvalue, |
|
|
in Vec4d | stdvalue ) |
|
static |
Constructor.
- Parameters
-
model | pre-loaded DNN model |
meanvalue | mean value for image preprocessing |
stdvalue | std value for image preprocessing |
tracking_score_threshold | threshold for tracking score |
◆ create() [5/12]
static TrackerVit OpenCVForUnity.VideoModule.TrackerVit.create |
( |
Net | model, |
|
|
in Vec4d | meanvalue, |
|
|
in Vec4d | stdvalue, |
|
|
float | tracking_score_threshold ) |
|
static |
Constructor.
- Parameters
-
model | pre-loaded DNN model |
meanvalue | mean value for image preprocessing |
stdvalue | std value for image preprocessing |
tracking_score_threshold | threshold for tracking score |
◆ create() [6/12]
static TrackerVit OpenCVForUnity.VideoModule.TrackerVit.create |
( |
Net | model, |
|
|
in(double v0, double v1, double v2, double v3) | meanvalue ) |
|
static |
Constructor.
- Parameters
-
model | pre-loaded DNN model |
meanvalue | mean value for image preprocessing |
stdvalue | std value for image preprocessing |
tracking_score_threshold | threshold for tracking score |
◆ create() [7/12]
static TrackerVit OpenCVForUnity.VideoModule.TrackerVit.create |
( |
Net | model, |
|
|
in(double v0, double v1, double v2, double v3) | meanvalue, |
|
|
in(double v0, double v1, double v2, double v3) | stdvalue ) |
|
static |
Constructor.
- Parameters
-
model | pre-loaded DNN model |
meanvalue | mean value for image preprocessing |
stdvalue | std value for image preprocessing |
tracking_score_threshold | threshold for tracking score |
◆ create() [8/12]
static TrackerVit OpenCVForUnity.VideoModule.TrackerVit.create |
( |
Net | model, |
|
|
in(double v0, double v1, double v2, double v3) | meanvalue, |
|
|
in(double v0, double v1, double v2, double v3) | stdvalue, |
|
|
float | tracking_score_threshold ) |
|
static |
Constructor.
- Parameters
-
model | pre-loaded DNN model |
meanvalue | mean value for image preprocessing |
stdvalue | std value for image preprocessing |
tracking_score_threshold | threshold for tracking score |
◆ create() [9/12]
Constructor.
- Parameters
-
model | pre-loaded DNN model |
meanvalue | mean value for image preprocessing |
stdvalue | std value for image preprocessing |
tracking_score_threshold | threshold for tracking score |
◆ create() [10/12]
Constructor.
- Parameters
-
model | pre-loaded DNN model |
meanvalue | mean value for image preprocessing |
stdvalue | std value for image preprocessing |
tracking_score_threshold | threshold for tracking score |
◆ create() [11/12]
static TrackerVit OpenCVForUnity.VideoModule.TrackerVit.create |
( |
Net | model, |
|
|
Scalar | meanvalue, |
|
|
Scalar | stdvalue, |
|
|
float | tracking_score_threshold ) |
|
static |
Constructor.
- Parameters
-
model | pre-loaded DNN model |
meanvalue | mean value for image preprocessing |
stdvalue | std value for image preprocessing |
tracking_score_threshold | threshold for tracking score |
◆ create() [12/12]
Constructor.
- Parameters
-
parameters | vit tracker parameters TrackerVit::Params |
◆ Dispose()
override void OpenCVForUnity.VideoModule.TrackerVit.Dispose |
( |
bool | disposing | ) |
|
|
protectedvirtual |
◆ getTrackingScore()
float OpenCVForUnity.VideoModule.TrackerVit.getTrackingScore |
( |
| ) |
|
The documentation for this class was generated from the following files: