View Source Evision.FarnebackOpticalFlow (Evision v0.1.21)

Link to this section Summary

Types

t()

Type that represents an Evision.FarnebackOpticalFlow struct.

Link to this section Types

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

Type that represents an Evision.FarnebackOpticalFlow struct.

  • ref. reference()

    The underlying erlang resource variable.

Link to this section Functions

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

create

Keyword Arguments
  • numLevels: int.
  • pyrScale: double.
  • fastPyramids: bool.
  • winSize: int.
  • numIters: int.
  • polyN: int.
  • polySigma: double.
  • flags: int.
Return

Python prototype (for reference only):

create([, numLevels[, pyrScale[, fastPyramids[, winSize[, numIters[, polyN[, polySigma[, flags]]]]]]]]) -> retval
@spec create([{atom(), term()}, ...] | nil) :: t() | {:error, String.t()}

create

Keyword Arguments
  • numLevels: int.
  • pyrScale: double.
  • fastPyramids: bool.
  • winSize: int.
  • numIters: int.
  • polyN: int.
  • polySigma: double.
  • flags: int.
Return

Python prototype (for reference only):

create([, numLevels[, pyrScale[, fastPyramids[, winSize[, numIters[, polyN[, polySigma[, flags]]]]]]]]) -> retval
@spec getFastPyramids(t()) :: boolean() | {:error, String.t()}

getFastPyramids

Positional Arguments
  • self: Evision.FarnebackOpticalFlow.t()
Return
  • retval: bool

Python prototype (for reference only):

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

getFlags

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

Python prototype (for reference only):

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

getNumIters

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

Python prototype (for reference only):

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

getNumLevels

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

Python prototype (for reference only):

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

getPolyN

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

Python prototype (for reference only):

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

getPolySigma

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

Python prototype (for reference only):

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

getPyrScale

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

Python prototype (for reference only):

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

getWinSize

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

Python prototype (for reference only):

getWinSize() -> retval
Link to this function

setFastPyramids(self, fastPyramids)

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

setFastPyramids

Positional Arguments
  • self: Evision.FarnebackOpticalFlow.t()
  • fastPyramids: bool

Python prototype (for reference only):

setFastPyramids(fastPyramids) -> None
@spec setFlags(t(), integer()) :: :ok | {:error, String.t()}

setFlags

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

Python prototype (for reference only):

setFlags(flags) -> None
Link to this function

setNumIters(self, numIters)

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

setNumIters

Positional Arguments
  • self: Evision.FarnebackOpticalFlow.t()
  • numIters: int

Python prototype (for reference only):

setNumIters(numIters) -> None
Link to this function

setNumLevels(self, numLevels)

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

setNumLevels

Positional Arguments
  • self: Evision.FarnebackOpticalFlow.t()
  • numLevels: int

Python prototype (for reference only):

setNumLevels(numLevels) -> None
@spec setPolyN(t(), integer()) :: :ok | {:error, String.t()}

setPolyN

Positional Arguments
  • self: Evision.FarnebackOpticalFlow.t()
  • polyN: int

Python prototype (for reference only):

setPolyN(polyN) -> None
Link to this function

setPolySigma(self, polySigma)

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

setPolySigma

Positional Arguments
  • self: Evision.FarnebackOpticalFlow.t()
  • polySigma: double

Python prototype (for reference only):

setPolySigma(polySigma) -> None
Link to this function

setPyrScale(self, pyrScale)

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

setPyrScale

Positional Arguments
  • self: Evision.FarnebackOpticalFlow.t()
  • pyrScale: double

Python prototype (for reference only):

setPyrScale(pyrScale) -> None
Link to this function

setWinSize(self, winSize)

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

setWinSize

Positional Arguments
  • self: Evision.FarnebackOpticalFlow.t()
  • winSize: int

Python prototype (for reference only):

setWinSize(winSize) -> None