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

Link to this section Summary

Types

t()

Type that represents an Evision.Detail.Timelapser struct.

Link to this section Types

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

Type that represents an Evision.Detail.Timelapser struct.

  • ref. reference()

    The underlying erlang resource variable.

Link to this section Functions

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

createDefault

Positional Arguments
  • type: int
Return

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

Python prototype (for reference only):

getDst() -> retval
Link to this function

initialize(self, corners, sizes)

View Source
@spec initialize(t(), [{number(), number()}], [{number(), number()}]) ::
  :ok | {: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()}
) ::
  :ok | {:error, String.t()}

process

Positional Arguments

Python prototype (for reference only):

process(img, mask, tl) -> None