Skip to content

Commit

Permalink
Merge pull request justadudewhohacks#725 from caridy/typings/TrackerC…
Browse files Browse the repository at this point in the history
…SRTParams/fix

fix type declaration for TrackerCSRTParams
  • Loading branch information
justadudewhohacks authored May 28, 2020
2 parents 2568f3c + 7c8523e commit 0725d42
Showing 1 changed file with 28 additions and 29 deletions.
57 changes: 28 additions & 29 deletions lib/typings/TrackerCSRTParams.d.ts
Original file line number Diff line number Diff line change
@@ -1,31 +1,30 @@
export class TrackerKCFParams {
readonly admm_iterations: number;
readonly background_ratio: number;
readonly cheb_attenuation: number;
readonly filter_lr: number;
readonly gsl_sigma: number;
readonly histogram_bins: number;
readonly histogram_lr: number;
readonly hog_clip: number;
readonly hog_orientations: number;
readonly kaiser_alpha: number;
readonly num_hog_channels_used: number;
readonly number_of_scales: number;
readonly padding: number;
//readonly psr_threshold: number;
readonly scale_lr: number;
readonly scale_model_max_area: number;
readonly scale_sigma_factor: number;
readonly scale_step: number;
readonly template_size: number;
readonly use_channel_weights: bool;
readonly use_color_names: bool;
readonly use_gray: bool;
readonly use_hog: bool;
readonly use_rgb: bool;
readonly use_segmentation: bool;
readonly weights_lr: number;
readonly window_function: string;

export class TrackerCSRTParams {
constructor();
readonly admm_iterations: number;
readonly background_ratio: number;
readonly cheb_attenuation: number;
readonly filter_lr: number;
readonly gsl_sigma: number;
readonly histogram_bins: number;
readonly histogram_lr: number;
readonly hog_clip: number;
readonly hog_orientations: number;
readonly kaiser_alpha: number;
readonly num_hog_channels_used: number;
readonly number_of_scales: number;
readonly padding: number;
//readonly psr_threshold: number;
readonly scale_lr: number;
readonly scale_model_max_area: number;
readonly scale_sigma_factor: number;
readonly scale_step: number;
readonly template_size: number;
readonly use_channel_weights: boolean;
readonly use_color_names: boolean;
readonly use_gray: boolean;
readonly use_hog: boolean;
readonly use_rgb: boolean;
readonly use_segmentation: boolean;
readonly weights_lr: number;
readonly window_function: string;
}

0 comments on commit 0725d42

Please sign in to comment.