View Source Evision.TrackerCSRT (Evision v0.1.28)

Link to this section Summary

Types

t()

Type that represents an TrackerCSRT struct.

Functions

Create CSRT tracker instance

Create CSRT tracker instance

Link to this section Types

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

Type that represents an TrackerCSRT struct.

  • ref. reference()

    The underlying erlang resource variable.

Link to this section Functions

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

Create CSRT tracker instance

Keyword Arguments
  • parameters: Evision.TrackerCSRT.Params.t().

    CSRT parameters TrackerCSRT::Params

Return
  • retval: Evision.TrackerCSRT.t()

Python prototype (for reference only):

create([, parameters]) -> retval
@spec create([{atom(), term()}, ...] | nil) :: t() | {:error, String.t()}

Create CSRT tracker instance

Keyword Arguments
  • parameters: Evision.TrackerCSRT.Params.t().

    CSRT parameters TrackerCSRT::Params

Return
  • retval: Evision.TrackerCSRT.t()

Python prototype (for reference only):

create([, parameters]) -> retval
Link to this function

setInitialMask(self, mask)

View Source
@spec setInitialMask(t(), Evision.Mat.maybe_mat_in()) :: t() | {:error, String.t()}

setInitialMask

Positional Arguments
  • self: Evision.TrackerCSRT.t()
  • mask: Evision.Mat.t()

Python prototype (for reference only):

setInitialMask(mask) -> None