rapid_Tracker
import { rapid_Tracker } 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 Algorithm.
Abstract base class for stateful silhouette trackers
Constructors and members
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.
compute
Estimate the pose of the tracker's configured 3D model from image edges, updating rotation and translation arrays.
compute(img: Mat, num: number, len: number, K: Mat, rvec: Mat, tvec: Mat, termcrit: TermCriteria): number;2 available overloads
compute(img: Mat, num: number, len: number, K: Mat, rvec: Mat, tvec: Mat): number;compute(img: Mat, num: number, len: number, K: Mat, rvec: Mat, tvec: Mat, termcrit: TermCriteria): number;imgimg argument (Mat).
numnum argument (number).
lenlen argument (number).
Kk argument (Mat).
rvecInput/output value, modified by the native operation. rvec argument (Mat).
tvecInput/output value, modified by the native operation. tvec argument (Mat).
termcrittermcrit argument (TermCriteria).
The number result.
clearState
Discard the tracker's accumulated internal state before tracking a new sequence.
clearState(): void;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.