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

Link to this section Summary

Types

t()

Type that represents an Evision.Detail.Timelapser struct.

Functions

Positional Arguments
  • type: int
Return

Python prototype (for reference):

Return

Python prototype (for reference):

Positional Arguments
  • corners: [Point]
  • sizes: [Size]

Python prototype (for reference):

Positional Arguments

Python prototype (for reference):

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()}
Positional Arguments
  • type: int
Return

Python prototype (for reference):

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

Python prototype (for reference):

getDst() -> retval
Link to this function

initialize(self, corners, sizes)

View Source
@spec initialize(t(), [{number(), number()}], [{number(), number()}]) ::
  :ok | {:error, String.t()}
Positional Arguments
  • corners: [Point]
  • sizes: [Size]

Python prototype (for reference):

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()}
Positional Arguments

Python prototype (for reference):

process(img, mask, tl) -> None