View Source Evision.Face.BasicFaceRecognizer (Evision v0.2.7)

Summary

Types

t()

Type that represents an Face.BasicFaceRecognizer struct.

Types

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

Type that represents an Face.BasicFaceRecognizer struct.

  • ref. reference()

    The underlying erlang resource variable.

Functions

Link to this function

getEigenValues(named_args)

View Source
@spec getEigenValues(Keyword.t()) :: any() | {:error, String.t()}
@spec getEigenValues(t()) :: Evision.Mat.t() | {:error, String.t()}

getEigenValues

Positional Arguments
  • self: Evision.Face.BasicFaceRecognizer.t()
Return
  • retval: Evision.Mat.t()

Python prototype (for reference only):

getEigenValues() -> retval
Link to this function

getEigenVectors(named_args)

View Source
@spec getEigenVectors(Keyword.t()) :: any() | {:error, String.t()}
@spec getEigenVectors(t()) :: Evision.Mat.t() | {:error, String.t()}

getEigenVectors

Positional Arguments
  • self: Evision.Face.BasicFaceRecognizer.t()
Return
  • retval: Evision.Mat.t()

Python prototype (for reference only):

getEigenVectors() -> retval
@spec getLabels(Keyword.t()) :: any() | {:error, String.t()}
@spec getLabels(t()) :: Evision.Mat.t() | {:error, String.t()}

getLabels

Positional Arguments
  • self: Evision.Face.BasicFaceRecognizer.t()
Return
  • retval: Evision.Mat.t()

Python prototype (for reference only):

getLabels() -> retval
@spec getMean(Keyword.t()) :: any() | {:error, String.t()}
@spec getMean(t()) :: Evision.Mat.t() | {:error, String.t()}

getMean

Positional Arguments
  • self: Evision.Face.BasicFaceRecognizer.t()
Return
  • retval: Evision.Mat.t()

Python prototype (for reference only):

getMean() -> retval
Link to this function

getNumComponents(named_args)

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

getNumComponents

Positional Arguments
  • self: Evision.Face.BasicFaceRecognizer.t()
Return
  • retval: integer()

@see setNumComponents/2

Python prototype (for reference only):

getNumComponents() -> retval
Link to this function

getProjections(named_args)

View Source
@spec getProjections(Keyword.t()) :: any() | {:error, String.t()}
@spec getProjections(t()) :: [Evision.Mat.t()] | {:error, String.t()}

getProjections

Positional Arguments
  • self: Evision.Face.BasicFaceRecognizer.t()
Return
  • retval: [Evision.Mat]

Python prototype (for reference only):

getProjections() -> retval
Link to this function

getThreshold(named_args)

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

getThreshold

Positional Arguments
  • self: Evision.Face.BasicFaceRecognizer.t()
Return
  • retval: double

@see setThreshold/2

Python prototype (for reference only):

getThreshold() -> retval
Link to this function

setNumComponents(named_args)

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

setNumComponents(self, val)

View Source
@spec setNumComponents(t(), integer()) :: t() | {:error, String.t()}

setNumComponents

Positional Arguments
  • self: Evision.Face.BasicFaceRecognizer.t()
  • val: integer()

@see getNumComponents/1

Python prototype (for reference only):

setNumComponents(val) -> None
Link to this function

setThreshold(named_args)

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

setThreshold

Positional Arguments
  • self: Evision.Face.BasicFaceRecognizer.t()
  • val: double

@see getThreshold/1

Python prototype (for reference only):

setThreshold(val) -> None