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

Summary

Types

t()

Type that represents an ArUco.RefineParameters struct.

Types

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

Type that represents an ArUco.RefineParameters struct.

  • ref. reference()

    The underlying erlang resource variable.

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(named_args)

View Source
@spec readRefineParameters(Keyword.t()) :: any() | {:error, String.t()}
Link to this function

readRefineParameters(self, func)

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
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>
Link to this function

refineParameters(named_args)

View Source
@spec refineParameters(Keyword.t()) :: any() | {:error, String.t()}
@spec refineParameters(
  [checkAllOrders: term(), errorCorrectionRate: term(), minRepDistance: 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(named_args)

View Source
@spec writeRefineParameters(Keyword.t()) :: any() | {:error, String.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
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(), [{:name, term()}] | nil) ::
  boolean() | {:error, String.t()}

Write a set of RefineParameters to FileStorage

Positional Arguments
Keyword Arguments
Return
  • retval: bool

Python prototype (for reference only):

writeRefineParameters(fs[, name]) -> retval