Class TrackerNano
The Nano tracker is a super lightweight dnn-based general object tracking. Nano tracker is much faster and extremely lightweight due to special model structure, the whole model size is about 1.9 MB. Nano tracker needs two models: one for feature extraction (backbone) and the another for localization (neckhead).
public class TrackerNano : Tracker, IDisposable
- Inheritance
-
TrackerNano
- Implements
- Inherited Members
Constructors
TrackerNano(string, string, Backend, Target)
Create a Nano tracker
public TrackerNano(string backbone, string neckhead, Backend backend = Backend.Default, Target target = Target.Cpu)
Parameters
backbone
stringPath to the model for feature extraction. Model download link: https://github.com/HonglinChu/SiamTrackers/tree/master/NanoTrack/models/nanotrackv2
neckhead
stringPath to the model for localization. Model download link: https://github.com/HonglinChu/SiamTrackers/tree/master/NanoTrack/models/nanotrackv2
backend
BackendThe preferred DNN backend
target
TargetThe preferred DNN target
Methods
DisposeObject()
Release the unmanaged resources associated with this tracker
protected override void DisposeObject()