View Source Evision.ArUco.RefineParameters (Evision v0.1.28)

Link to this section Summary

Types

t()

Type that represents an ArUco.RefineParameters struct.

Functions

Read a new set of RefineParameters from FileNode (use FileStorage.root()).

RefineParameters

RefineParameters

Write a set of RefineParameters to FileStorage

Write a set of RefineParameters to FileStorage

Link to this section Types

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

Type that represents an ArUco.RefineParameters struct.

  • ref. reference()

    The underlying erlang resource variable.

Link to this section Functions

Link to this function

get_checkAllOrders(self)

View Source
@spec get_checkAllOrders(t()) :: boolean()
Link to this function

get_errorCorrectionRate(self)

View Source
@spec get_errorCorrectionRate(t()) :: number()
Link to this function

get_minRepDistance(self)

View Source
@spec get_minRepDistance(t()) :: number()
Link to this function

readRefineParameters(self, fn_)

View Source
@spec readRefineParameters(t(), Evision.FileNode.t()) ::
  boolean() | {:error, String.t()}

Read a new set of RefineParameters from FileNode (use FileStorage.root()).

Positional Arguments
  • self: Evision.ArUco.RefineParameters.t()
  • fn_: Evision.FileNode.t()
Return
  • retval: bool

Python prototype (for reference only):

readRefineParameters(fn_) -> retval
@spec refineParameters() :: t() | {:error, String.t()}

RefineParameters

Keyword Arguments
  • minRepDistance: float.
  • errorCorrectionRate: float.
  • checkAllOrders: bool.
Return
  • self: RefineParameters

Python prototype (for reference only):

RefineParameters([, minRepDistance[, errorCorrectionRate[, checkAllOrders]]]) -> <aruco_RefineParameters object>
@spec refineParameters([{atom(), term()}, ...] | nil) :: t() | {:error, String.t()}

RefineParameters

Keyword Arguments
  • minRepDistance: float.
  • errorCorrectionRate: float.
  • checkAllOrders: bool.
Return
  • self: RefineParameters

Python prototype (for reference only):

RefineParameters([, minRepDistance[, errorCorrectionRate[, checkAllOrders]]]) -> <aruco_RefineParameters object>
Link to this function

set_checkAllOrders(self, prop)

View Source
@spec set_checkAllOrders(t(), boolean()) :: t()
Link to this function

set_errorCorrectionRate(self, prop)

View Source
@spec set_errorCorrectionRate(t(), number()) :: t()
Link to this function

set_minRepDistance(self, prop)

View Source
@spec set_minRepDistance(t(), number()) :: t()
Link to this function

writeRefineParameters(self, fs)

View Source
@spec writeRefineParameters(t(), Evision.FileStorage.t()) ::
  boolean() | {:error, String.t()}

Write a set of RefineParameters to FileStorage

Positional Arguments
  • self: Evision.ArUco.RefineParameters.t()
  • fs: Evision.FileStorage.t()
Keyword Arguments
Return
  • retval: bool

Python prototype (for reference only):

writeRefineParameters(fs[, name]) -> retval
Link to this function

writeRefineParameters(self, fs, opts)

View Source
@spec writeRefineParameters(
  t(),
  Evision.FileStorage.t(),
  [{atom(), term()}, ...] | nil
) ::
  boolean() | {:error, String.t()}

Write a set of RefineParameters to FileStorage

Positional Arguments
  • self: Evision.ArUco.RefineParameters.t()
  • fs: Evision.FileStorage.t()
Keyword Arguments
Return
  • retval: bool

Python prototype (for reference only):

writeRefineParameters(fs[, name]) -> retval