View Source Evision.SparsePyrLKOpticalFlow (Evision v0.1.21)

Link to this section Summary

Types

t()

Type that represents an Evision.SparsePyrLKOpticalFlow struct.

Link to this section Types

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

Type that represents an Evision.SparsePyrLKOpticalFlow struct.

  • ref. reference()

    The underlying erlang resource variable.

Link to this section Functions

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

create

Keyword Arguments
  • winSize: Size.
  • maxLevel: int.
  • crit: TermCriteria.
  • flags: int.
  • minEigThreshold: double.
Return

Python prototype (for reference only):

create([, winSize[, maxLevel[, crit[, flags[, minEigThreshold]]]]]) -> retval
@spec create([{atom(), term()}, ...] | nil) :: t() | {:error, String.t()}

create

Keyword Arguments
  • winSize: Size.
  • maxLevel: int.
  • crit: TermCriteria.
  • flags: int.
  • minEigThreshold: double.
Return

Python prototype (for reference only):

create([, winSize[, maxLevel[, crit[, flags[, minEigThreshold]]]]]) -> retval
@spec getFlags(t()) :: integer() | {:error, String.t()}

getFlags

Positional Arguments
  • self: Evision.SparsePyrLKOpticalFlow.t()
Return
  • retval: int

Python prototype (for reference only):

getFlags() -> retval
@spec getMaxLevel(t()) :: integer() | {:error, String.t()}

getMaxLevel

Positional Arguments
  • self: Evision.SparsePyrLKOpticalFlow.t()
Return
  • retval: int

Python prototype (for reference only):

getMaxLevel() -> retval
Link to this function

getMinEigThreshold(self)

View Source
@spec getMinEigThreshold(t()) :: number() | {:error, String.t()}

getMinEigThreshold

Positional Arguments
  • self: Evision.SparsePyrLKOpticalFlow.t()
Return
  • retval: double

Python prototype (for reference only):

getMinEigThreshold() -> retval
@spec getTermCriteria(t()) :: {integer(), integer(), number()} | {:error, String.t()}

getTermCriteria

Positional Arguments
  • self: Evision.SparsePyrLKOpticalFlow.t()
Return
  • retval: TermCriteria

Python prototype (for reference only):

getTermCriteria() -> retval
@spec getWinSize(t()) :: {number(), number()} | {:error, String.t()}

getWinSize

Positional Arguments
  • self: Evision.SparsePyrLKOpticalFlow.t()
Return
  • retval: Size

Python prototype (for reference only):

getWinSize() -> retval
@spec setFlags(t(), integer()) :: :ok | {:error, String.t()}

setFlags

Positional Arguments
  • self: Evision.SparsePyrLKOpticalFlow.t()
  • flags: int

Python prototype (for reference only):

setFlags(flags) -> None
Link to this function

setMaxLevel(self, maxLevel)

View Source
@spec setMaxLevel(t(), integer()) :: :ok | {:error, String.t()}

setMaxLevel

Positional Arguments
  • self: Evision.SparsePyrLKOpticalFlow.t()
  • maxLevel: int

Python prototype (for reference only):

setMaxLevel(maxLevel) -> None
Link to this function

setMinEigThreshold(self, minEigThreshold)

View Source
@spec setMinEigThreshold(t(), number()) :: :ok | {:error, String.t()}

setMinEigThreshold

Positional Arguments
  • self: Evision.SparsePyrLKOpticalFlow.t()
  • minEigThreshold: double

Python prototype (for reference only):

setMinEigThreshold(minEigThreshold) -> None
Link to this function

setTermCriteria(self, crit)

View Source
@spec setTermCriteria(t(), {integer(), integer(), number()}) ::
  :ok | {:error, String.t()}

setTermCriteria

Positional Arguments
  • self: Evision.SparsePyrLKOpticalFlow.t()
  • crit: TermCriteria

Python prototype (for reference only):

setTermCriteria(crit) -> None
Link to this function

setWinSize(self, winSize)

View Source
@spec setWinSize(
  t(),
  {number(), number()}
) :: :ok | {:error, String.t()}

setWinSize

Positional Arguments
  • self: Evision.SparsePyrLKOpticalFlow.t()
  • winSize: Size

Python prototype (for reference only):

setWinSize(winSize) -> None