TrackerNano
import { TrackerNano } from '@banou/opencv-wasm'Use after await initOpenCV(). See the initialization and named imports guide.
Native object: release it with using or delete(). Factories can return null; check before calling methods. Inherits Tracker.
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). Model download link: https://github.com/HonglinChu/SiamTrackers/tree/master/NanoTrack/models/nanotrackv2 Original repo is here: https://github.com/HonglinChu/NanoTrack Author: HongLinChu, 1628464345qq:.com
Constructors and members
static create
TrackerNano.create: Constructor
create(parameters: TrackerNano_Params): TrackerNano | null;2 available overloads
create(): TrackerNano | null;create(parameters: TrackerNano_Params): TrackerNano | null;parametersNanoTrack parameters TrackerNano::Params
The TrackerNano | null result.
static create1
TrackerNano.create1: Constructor
create1(backbone: dnn_Net, neckhead: dnn_Net): TrackerNano | null;backbonepre-loaded backbone model
neckheadpre-loaded neckhead model
The TrackerNano | null result.
clone
Create another handle to the same native object. This retains the object without copying its pixels or algorithm state; dispose both handles separately.
clone(): this;The this result.
These signatures describe this package. Upstream documentation can mention optional backends that are absent from this build. Check runtime compatibility before choosing a backend or file format.