Skip to content

legacy_TrackerCSRT

trackingclassOpenCV 5.0.0
import { legacy_TrackerCSRT } from '@banou/opencv-wasm'

Use after await initOpenCV(). See the initialization and named imports guide.

ARGUMENTSConstructor or factory
CLASSlegacy_TrackerCSRT
RETURN TYPEOwned native handle
Call structure. A void return can still write to destination arguments. The parameter descriptions define inputs, outputs and ownership.

Native object: release it with using or delete(). Factories can return null; check before calling methods. Inherits legacy_Tracker.

CSRT *********************************** the CSRT tracker

The implementation is based on [Lukezic_IJCV2018] Discriminative Correlation Filter with Channel and Spatial Reliability

Constructors and members

static create

legacy_TrackerCSRT.create: Constructor

create(): legacy_TrackerCSRT | null;
Returns

The legacy_TrackerCSRT | 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;
Returns

The this result.

setInitialMask

Set the initial mask used by this legacy_TrackerCSRT object.

setInitialMask(mask: Mat): void;
mask

mask argument (Mat).

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.