Skip to content

TrackerKCF_Params

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

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

ARGUMENTSConstructor or factory
CLASSTrackerKCF_Params
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.

tracker kcf params value in the OpenCV API.

Constructors and members

static new

Create an owned TrackerKCF_Params object. Release native handles with using or delete().

new(): TrackerKCF_Params;
Returns

The TrackerKCF_Params 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.

detect_thresh

detection confidence threshold

detect_thresh: number;

sigma

gaussian kernel bandwidth

sigma: number;

lambda

TrackerKCF_Params.lambda: regularization

lambda: number;

interp_factor

linear interpolation factor for adaptation

interp_factor: number;

output_sigma_factor

spatial bandwidth (proportional to target)

output_sigma_factor: number;

pca_learning_rate

compression learning rate

pca_learning_rate: number;

resize

activate the resize feature to improve the processing speed

resize: boolean;

split_coeff

split the training coefficients into two matrices

split_coeff: boolean;

wrap_kernel

wrap around the kernel values

wrap_kernel: boolean;

compress_feature

activate the pca method to compress the features

compress_feature: boolean;

max_patch_size

threshold for the ROI size

max_patch_size: number;

compressed_size

feature size after compression

compressed_size: number;

desc_pca

compressed descriptors of TrackerKCF::MODE

desc_pca: number;

desc_npca

non-compressed descriptors of TrackerKCF::MODE

desc_npca: number;

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.