View Source Evision.GeneralizedHough (Evision v0.1.11)

Link to this section Summary

Types

t()

Type that represents an Evision.GeneralizedHough struct.

Functions

Positional Arguments
Return

Python prototype (for reference):

Positional Arguments
Return

Python prototype (for reference):

Positional Arguments
Return

Python prototype (for reference):

Positional Arguments
Return

Python prototype (for reference):

Return
  • retval: int

Python prototype (for reference):

Return
  • retval: int

Python prototype (for reference):

Return
  • retval: double

Python prototype (for reference):

Return
  • retval: int

Python prototype (for reference):

Return
  • retval: double

Python prototype (for reference):

Positional Arguments
  • cannyHighThresh: int

Python prototype (for reference):

Positional Arguments
  • cannyLowThresh: int

Python prototype (for reference):

Positional Arguments
  • dp: double

Python prototype (for reference):

Positional Arguments
  • maxBufferSize: int

Python prototype (for reference):

Positional Arguments
  • minDist: double

Python prototype (for reference):

Positional Arguments
Keyword Arguments
  • templCenter: Point.

Python prototype (for reference):

Positional Arguments
Keyword Arguments
  • templCenter: Point.

Python prototype (for reference):

Positional Arguments
Keyword Arguments
  • templCenter: Point.

Python prototype (for reference):

Positional Arguments
Keyword Arguments
  • templCenter: Point.

Python prototype (for reference):

Link to this section Types

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

Type that represents an Evision.GeneralizedHough struct.

  • ref. reference()

    The underlying erlang resource variable.

Link to this section Functions

@spec detect(t(), Evision.Mat.maybe_mat_in()) ::
  {Evision.Mat.t(), Evision.Mat.t()} | {:error, String.t()}
Positional Arguments
Return

Python prototype (for reference):

detect(image[, positions[, votes]]) -> positions, votes
Link to this function

detect(self, image, opts)

View Source
@spec detect(t(), Evision.Mat.maybe_mat_in(), [{atom(), term()}, ...] | nil) ::
  {Evision.Mat.t(), Evision.Mat.t()} | {:error, String.t()}
Positional Arguments
Return

Python prototype (for reference):

detect(image[, positions[, votes]]) -> positions, votes
Link to this function

detect(self, edges, dx, dy)

View Source
Positional Arguments
Return

Python prototype (for reference):

detect(edges, dx, dy[, positions[, votes]]) -> positions, votes
Link to this function

detect(self, edges, dx, dy, opts)

View Source
@spec detect(
  t(),
  Evision.Mat.maybe_mat_in(),
  Evision.Mat.maybe_mat_in(),
  Evision.Mat.maybe_mat_in(),
  [{atom(), term()}, ...] | nil
) :: {Evision.Mat.t(), Evision.Mat.t()} | {:error, String.t()}
Positional Arguments
Return

Python prototype (for reference):

detect(edges, dx, dy[, positions[, votes]]) -> positions, votes
Link to this function

getCannyHighThresh(self)

View Source
@spec getCannyHighThresh(t()) :: integer() | {:error, String.t()}
Return
  • retval: int

Python prototype (for reference):

getCannyHighThresh() -> retval
@spec getCannyLowThresh(t()) :: integer() | {:error, String.t()}
Return
  • retval: int

Python prototype (for reference):

getCannyLowThresh() -> retval
@spec getDp(t()) :: number() | {:error, String.t()}
Return
  • retval: double

Python prototype (for reference):

getDp() -> retval
@spec getMaxBufferSize(t()) :: integer() | {:error, String.t()}
Return
  • retval: int

Python prototype (for reference):

getMaxBufferSize() -> retval
@spec getMinDist(t()) :: number() | {:error, String.t()}
Return
  • retval: double

Python prototype (for reference):

getMinDist() -> retval
Link to this function

setCannyHighThresh(self, cannyHighThresh)

View Source
@spec setCannyHighThresh(t(), integer()) :: :ok | {:error, String.t()}
Positional Arguments
  • cannyHighThresh: int

Python prototype (for reference):

setCannyHighThresh(cannyHighThresh) -> None
Link to this function

setCannyLowThresh(self, cannyLowThresh)

View Source
@spec setCannyLowThresh(t(), integer()) :: :ok | {:error, String.t()}
Positional Arguments
  • cannyLowThresh: int

Python prototype (for reference):

setCannyLowThresh(cannyLowThresh) -> None
@spec setDp(t(), number()) :: :ok | {:error, String.t()}
Positional Arguments
  • dp: double

Python prototype (for reference):

setDp(dp) -> None
Link to this function

setMaxBufferSize(self, maxBufferSize)

View Source
@spec setMaxBufferSize(t(), integer()) :: :ok | {:error, String.t()}
Positional Arguments
  • maxBufferSize: int

Python prototype (for reference):

setMaxBufferSize(maxBufferSize) -> None
Link to this function

setMinDist(self, minDist)

View Source
@spec setMinDist(t(), number()) :: :ok | {:error, String.t()}
Positional Arguments
  • minDist: double

Python prototype (for reference):

setMinDist(minDist) -> None
Link to this function

setTemplate(self, templ)

View Source
@spec setTemplate(t(), Evision.Mat.maybe_mat_in()) :: :ok | {:error, String.t()}
Positional Arguments
Keyword Arguments
  • templCenter: Point.

Python prototype (for reference):

setTemplate(templ[, templCenter]) -> None
Link to this function

setTemplate(self, templ, opts)

View Source
@spec setTemplate(t(), Evision.Mat.maybe_mat_in(), [{atom(), term()}, ...] | nil) ::
  :ok | {:error, String.t()}
Positional Arguments
Keyword Arguments
  • templCenter: Point.

Python prototype (for reference):

setTemplate(templ[, templCenter]) -> None
Link to this function

setTemplate(self, edges, dx, dy)

View Source
@spec setTemplate(
  t(),
  Evision.Mat.maybe_mat_in(),
  Evision.Mat.maybe_mat_in(),
  Evision.Mat.maybe_mat_in()
) :: :ok | {:error, String.t()}
Positional Arguments
Keyword Arguments
  • templCenter: Point.

Python prototype (for reference):

setTemplate(edges, dx, dy[, templCenter]) -> None
Link to this function

setTemplate(self, edges, dx, dy, opts)

View Source
@spec setTemplate(
  t(),
  Evision.Mat.maybe_mat_in(),
  Evision.Mat.maybe_mat_in(),
  Evision.Mat.maybe_mat_in(),
  [{atom(), term()}, ...] | nil
) :: :ok | {:error, String.t()}
Positional Arguments
Keyword Arguments
  • templCenter: Point.

Python prototype (for reference):

setTemplate(edges, dx, dy[, templCenter]) -> None