View Source Evision.SparsePyrLKOpticalFlow (Evision v0.1.38)

Summary

Types

t()

Type that represents an SparsePyrLKOpticalFlow struct.

Types

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

Type that represents an SparsePyrLKOpticalFlow struct.

  • ref. reference()

    The underlying erlang resource variable.

Functions

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

create

Keyword Arguments
  • winSize: Size.
  • maxLevel: int.
  • crit: TermCriteria.
  • flags: int.
  • minEigThreshold: double.
Return
  • retval: Evision.SparsePyrLKOpticalFlow.t()

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
  • retval: Evision.SparsePyrLKOpticalFlow.t()

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()) :: t() | {: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()) :: t() | {: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()) :: t() | {: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()}) ::
  t() | {: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()}
) :: t() | {:error, String.t()}

setWinSize

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

Python prototype (for reference only):

setWinSize(winSize) -> None