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

Summary

Types

t()

Type that represents an Detail.Timelapser struct.

Enumerator

Types

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

Type that represents an Detail.Timelapser struct.

  • ref. reference()

    The underlying erlang resource variable.

Functions

Link to this function

createDefault(named_args)

View Source
@spec createDefault(Keyword.t()) :: any() | {:error, String.t()}
@spec createDefault(integer()) :: t() | {:error, String.t()}

createDefault

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

Python prototype (for reference only):

createDefault(type) -> retval
@spec getDst(Keyword.t()) :: any() | {:error, String.t()}
@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
@spec initialize(Keyword.t()) :: any() | {:error, String.t()}
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
@spec process(Keyword.t()) :: any() | {:error, String.t()}
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

Python prototype (for reference only):

process(img, mask, tl) -> None