View Source Evision.Detail.Timelapser (Evision v0.1.33)

Summary

Types

t()

Type that represents an Detail.Timelapser struct.

Types

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

Type that represents an Detail.Timelapser struct.

  • ref. reference()

    The underlying erlang resource variable.

Functions

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

createDefault

Positional Arguments
  • type: int
Return
  • retval: Evision.Detail.Timelapser.t()

Python prototype (for reference only):

createDefault(type) -> retval
@spec getDst(t()) :: Evision.Mat.t() | {:error, String.t()}

getDst

Positional Arguments
  • self: Evision.Detail.Timelapser.t()
Return
  • retval: Evision.Mat.t()

Python prototype (for reference only):

getDst() -> retval
Link to this function

initialize(self, corners, sizes)

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

initialize

Positional Arguments
  • self: Evision.Detail.Timelapser.t()
  • corners: [Point]
  • sizes: [Size]

Python prototype (for reference only):

initialize(corners, sizes) -> None
Link to this function

process(self, img, mask, tl)

View Source
@spec process(
  t(),
  Evision.Mat.maybe_mat_in(),
  Evision.Mat.maybe_mat_in(),
  {number(), number()}
) ::
  t() | {:error, String.t()}

process

Positional Arguments
  • self: Evision.Detail.Timelapser.t()
  • img: Evision.Mat.t()
  • mask: Evision.Mat.t()
  • tl: Point

Python prototype (for reference only):

process(img, mask, tl) -> None