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

Link to this section Summary

Types

t()

Type that represents an Face.BasicFaceRecognizer struct.

Functions

getEigenValues

getEigenVectors

getLabels

getMean

getNumComponents

getProjections

getThreshold

setNumComponents

Link to this section Types

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

Type that represents an Face.BasicFaceRecognizer struct.

  • ref. reference()

    The underlying erlang resource variable.

Link to this section Functions

@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
@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(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(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
@spec getNumComponents(t()) :: integer() | {:error, String.t()}

getNumComponents

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

@see setNumComponents/2

Python prototype (for reference only):

getNumComponents() -> retval
@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
@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(self, val)

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

setNumComponents

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

@see getNumComponents/1

Python prototype (for reference only):

setNumComponents(val) -> None
@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