View Source Evision.ArUco.GridBoard (Evision v0.2.9)

Summary

Types

t()

Type that represents an ArUco.GridBoard struct.

Types

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

Type that represents an ArUco.GridBoard struct.

  • ref. reference()

    The underlying erlang resource variable.

Functions

@spec getGridSize(Keyword.t()) :: any() | {:error, String.t()}
@spec getGridSize(t()) :: {number(), number()} | {:error, String.t()}

getGridSize

Positional Arguments
  • self: Evision.ArUco.GridBoard.t()
Return
  • retval: Size

Python prototype (for reference only):

getGridSize() -> retval
Link to this function

getMarkerLength(named_args)

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

getMarkerLength

Positional Arguments
  • self: Evision.ArUco.GridBoard.t()
Return
  • retval: float

Python prototype (for reference only):

getMarkerLength() -> retval
Link to this function

getMarkerSeparation(named_args)

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

getMarkerSeparation

Positional Arguments
  • self: Evision.ArUco.GridBoard.t()
Return
  • retval: float

Python prototype (for reference only):

getMarkerSeparation() -> retval
@spec gridBoard(Keyword.t()) :: any() | {:error, String.t()}
Link to this function

gridBoard(size, markerLength, markerSeparation, dictionary)

View Source
@spec gridBoard(
  {number(), number()},
  number(),
  number(),
  Evision.ArUco.Dictionary.t()
) ::
  t() | {:error, String.t()}

GridBoard constructor

Positional Arguments
  • size: Size.

    number of markers in x and y directions

  • markerLength: float.

    marker side length (normally in meters)

  • markerSeparation: float.

    separation between two markers (same unit as markerLength)

  • dictionary: Dictionary.

    dictionary of markers indicating the type of markers

Keyword Arguments
  • ids: Evision.Mat.

    set of marker ids in dictionary to use on board.

Return
  • self: GridBoard

Python prototype (for reference only):

GridBoard(size, markerLength, markerSeparation, dictionary[, ids]) -> <aruco_GridBoard object>
Link to this function

gridBoard(size, markerLength, markerSeparation, dictionary, opts)

View Source
@spec gridBoard(
  {number(), number()},
  number(),
  number(),
  Evision.ArUco.Dictionary.t(),
  [{:ids, term()}] | nil
) :: t() | {:error, String.t()}

GridBoard constructor

Positional Arguments
  • size: Size.

    number of markers in x and y directions

  • markerLength: float.

    marker side length (normally in meters)

  • markerSeparation: float.

    separation between two markers (same unit as markerLength)

  • dictionary: Dictionary.

    dictionary of markers indicating the type of markers

Keyword Arguments
  • ids: Evision.Mat.

    set of marker ids in dictionary to use on board.

Return
  • self: GridBoard

Python prototype (for reference only):

GridBoard(size, markerLength, markerSeparation, dictionary[, ids]) -> <aruco_GridBoard object>