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

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

setNoiseSigma

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

Python prototype (for reference only):

setNoiseSigma(noiseSigma) -> None