View Source Evision.BgSegm.BackgroundSubtractorMOG (Evision v0.2.1)

Summary

Types

t()

Type that represents an BgSegm.BackgroundSubtractorMOG struct.

Types

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

Type that represents an BgSegm.BackgroundSubtractorMOG struct.

  • ref. reference()

    The underlying erlang resource variable.

Functions

Link to this function

getBackgroundRatio(self)

View Source
@spec getBackgroundRatio(Evision.BgSegm.BgSegm.BackgroundSubtractorMOG.t()) ::
  number() | {:error, String.t()}

getBackgroundRatio

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

Python prototype (for reference only):

getBackgroundRatio() -> retval
@spec getHistory(Evision.BgSegm.BgSegm.BackgroundSubtractorMOG.t()) ::
  integer() | {:error, String.t()}

getHistory

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

Python prototype (for reference only):

getHistory() -> retval
@spec getNMixtures(Evision.BgSegm.BgSegm.BackgroundSubtractorMOG.t()) ::
  integer() | {:error, String.t()}

getNMixtures

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

Python prototype (for reference only):

getNMixtures() -> retval
@spec getNoiseSigma(Evision.BgSegm.BgSegm.BackgroundSubtractorMOG.t()) ::
  number() | {:error, String.t()}

getNoiseSigma

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

Python prototype (for reference only):

getNoiseSigma() -> retval
Link to this function

setBackgroundRatio(self, backgroundRatio)

View Source
@spec setBackgroundRatio(Evision.BgSegm.BgSegm.BackgroundSubtractorMOG.t(), number()) ::
  Evision.BgSegm.BgSegm.BackgroundSubtractorMOG.t() | {:error, String.t()}

setBackgroundRatio

Positional Arguments
  • self: Evision.BgSegm.BackgroundSubtractorMOG.t()
  • backgroundRatio: double

Python prototype (for reference only):

setBackgroundRatio(backgroundRatio) -> None
Link to this function

setHistory(self, nframes)

View Source
@spec setHistory(Evision.BgSegm.BgSegm.BackgroundSubtractorMOG.t(), integer()) ::
  Evision.BgSegm.BgSegm.BackgroundSubtractorMOG.t() | {:error, String.t()}

setHistory

Positional Arguments
  • self: Evision.BgSegm.BackgroundSubtractorMOG.t()
  • nframes: int

Python prototype (for reference only):

setHistory(nframes) -> None
Link to this function

setNMixtures(self, nmix)

View Source
@spec setNMixtures(Evision.BgSegm.BgSegm.BackgroundSubtractorMOG.t(), integer()) ::
  Evision.BgSegm.BgSegm.BackgroundSubtractorMOG.t() | {:error, String.t()}

setNMixtures

Positional Arguments
  • self: Evision.BgSegm.BackgroundSubtractorMOG.t()
  • nmix: int

Python prototype (for reference only):

setNMixtures(nmix) -> None
Link to this function

setNoiseSigma(self, noiseSigma)

View Source
@spec setNoiseSigma(Evision.BgSegm.BgSegm.BackgroundSubtractorMOG.t(), number()) ::
  Evision.BgSegm.BgSegm.BackgroundSubtractorMOG.t() | {:error, String.t()}

setNoiseSigma

Positional Arguments
  • self: Evision.BgSegm.BackgroundSubtractorMOG.t()
  • noiseSigma: double

Python prototype (for reference only):

setNoiseSigma(noiseSigma) -> None