Skip to content

CVTracker

RafaDdS edited this page Jul 10, 2024 · 3 revisions

Classes:

  • CVTrackerCSRT
  • CVTrackerDaSiamRPN
  • CVTrackerGOTURN
  • CVTrackerKCF

Updates the position of a bounding box in order to track an object in a video. More information here.

init

Prototype: void init(CVMat image, CVRect boundingBox)

Initialize the tracker with a known bounding box that surrounded the target.

update

Prototype: CVRect update(CVMat image)

Update the tracker, find the new most likely bounding box for the target.

CVTrackerCSRT

create

Prototype: static CVTrackerCSRT create(Dictionary additional_parameters)

Creates an instance of the tracker.

  • Additional parameters: admm_iterations: Int, background_ratio: Int, cheb_attenuation: Float, filter_lr: Float, gsl_sigma: Float, histogram_bins: Int, histogram_lr: Float, hog_clip: Float, hog_orientations: Float, kaiser_alpha: Float, num_hog_channels_used: Int, number_of_scales: Int, padding: Float, psr_threshold: Float, scale_lr: Float, scale_model_max_area: Float, scale_sigma_factor: Float, scale_step: Float, template_size: Float, use_channel_weights: Bool, use_color_names: Bool, use_gray: Bool, use_hog: Bool, use_rgb: Bool, use_segmentation: Bool, weights_lr: Float, window_function: String

CVTrackerDaSiamRPN

create

Prototype: static CVTrackerDaSiamRPN create(Dictionary additional_parameters)

Creates an instance of the tracker.

  • Additional parameters: backend: Int, kernel_cls1: String, kernel_r1: String, model: String, target: Int

CVTrackerGOTURN

create

Prototype: static CVTrackerGOTURN create(Dictionary additional_parameters)

Creates an instance of the tracker.

  • Additional parameters: model_bin: String, model_txt: String

CVTrackerKCF

create

Prototype: static CVTrackerKCF create(Dictionary additional_parameters)

Creates an instance of the tracker.

  • Additional parameters: compress_feature: Bool, compressed_size: Int, desc_npca: Int, desc_pca: Int, detect_thresh: Float, interp_factor: Float, lambda: Float, max_patch_size: Int, output_sigma_factor: Float, resize: Bool, sigma: Float, split_coeff: Bool, wrap_kernel: Bool
Clone this wiki locally