View Source Evision.TrackerVit (Evision v1.0.0-rc.0)

Summary

Types

t()

Type that represents an TrackerVit struct.

Functions

Constructor

Variant 1:

Constructor

Constructor

Types

@type t() :: %Evision.TrackerVit{ref: reference()}

Type that represents an TrackerVit struct.

  • ref. reference()

    The underlying erlang resource variable.

Functions

@spec create() :: Evision.TrackerVit | {:error, String.t()}

Constructor

Keyword Arguments
Return
  • retval: Evision.TrackerVit.t()

Python prototype (for reference only):

create([, parameters]) -> retval
@spec create(Keyword.t()) :: any() | {:error, String.t()}
@spec create([{:parameters, term()}] | nil) ::
  Evision.TrackerVit | {:error, String.t()}
@spec create(Evision.DNN.Net.t()) :: Evision.TrackerVit | {:error, String.t()}

Variant 1:

Constructor

Positional Arguments
  • model: Evision.DNN.Net.t().

    pre-loaded DNN model

Keyword Arguments
  • meanvalue: Evision.scalar().

    mean value for image preprocessing

  • stdvalue: Evision.scalar().

    std value for image preprocessing

  • tracking_score_threshold: float.

    threshold for tracking score

Return
  • retval: Evision.TrackerVit.t()

Python prototype (for reference only):

create(model[, meanvalue[, stdvalue[, tracking_score_threshold]]]) -> retval

Variant 2:

Constructor

Keyword Arguments
Return
  • retval: Evision.TrackerVit.t()

Python prototype (for reference only):

create([, parameters]) -> retval
@spec create(
  Evision.DNN.Net.t(),
  [meanvalue: term(), stdvalue: term(), tracking_score_threshold: term()] | nil
) :: Evision.TrackerVit | {:error, String.t()}

Constructor

Positional Arguments
  • model: Evision.DNN.Net.t().

    pre-loaded DNN model

Keyword Arguments
  • meanvalue: Evision.scalar().

    mean value for image preprocessing

  • stdvalue: Evision.scalar().

    std value for image preprocessing

  • tracking_score_threshold: float.

    threshold for tracking score

Return
  • retval: Evision.TrackerVit.t()

Python prototype (for reference only):

create(model[, meanvalue[, stdvalue[, tracking_score_threshold]]]) -> retval