View Source Evision.Saliency.ObjectnessBING (Evision v0.2.9)
Summary
Functions
computeSaliency
computeSaliency
create
getBase
getNSS
Return the list of the rectangles' objectness value,
getW
read
setBase
This is a utility function that allows to set an arbitrary path in which the algorithm will save the optional results
setNSS
This is a utility function that allows to set the correct path from which the algorithm will load the trained model.
setW
write
Types
@type t() :: %Evision.Saliency.ObjectnessBING{ref: reference()}
Type that represents an Saliency.ObjectnessBING
struct.
ref.
reference()
The underlying erlang resource variable.
Functions
@spec computeSaliency(t(), Evision.Mat.maybe_mat_in()) :: Evision.Mat.t() | false | {:error, String.t()}
computeSaliency
Positional Arguments
- self:
Evision.Saliency.ObjectnessBING.t()
- image:
Evision.Mat
Return
- retval:
bool
- saliencyMap:
Evision.Mat.t()
.
Python prototype (for reference only):
computeSaliency(image[, saliencyMap]) -> retval, saliencyMap
@spec computeSaliency(t(), Evision.Mat.maybe_mat_in(), [{atom(), term()}, ...] | nil) :: Evision.Mat.t() | false | {:error, String.t()}
computeSaliency
Positional Arguments
- self:
Evision.Saliency.ObjectnessBING.t()
- image:
Evision.Mat
Return
- retval:
bool
- saliencyMap:
Evision.Mat.t()
.
Python prototype (for reference only):
computeSaliency(image[, saliencyMap]) -> retval, saliencyMap
create
Return
- retval:
ObjectnessBING
Python prototype (for reference only):
create() -> retval
@spec getBase(Keyword.t()) :: any() | {:error, String.t()}
@spec getBase(t()) :: number() | {:error, String.t()}
getBase
Positional Arguments
- self:
Evision.Saliency.ObjectnessBING.t()
Return
- retval:
double
Python prototype (for reference only):
getBase() -> retval
@spec getNSS(Keyword.t()) :: any() | {:error, String.t()}
@spec getNSS(t()) :: integer() | {:error, String.t()}
getNSS
Positional Arguments
- self:
Evision.Saliency.ObjectnessBING.t()
Return
- retval:
integer()
Python prototype (for reference only):
getNSS() -> retval
@spec getobjectnessValues(Keyword.t()) :: any() | {:error, String.t()}
@spec getobjectnessValues(t()) :: [number()] | {:error, String.t()}
Return the list of the rectangles' objectness value,
Positional Arguments
- self:
Evision.Saliency.ObjectnessBING.t()
Return
- retval:
[float]
in the same order as the vector\<Vec4i> objectnessBoundingBox returned by the algorithm (in computeSaliencyImpl function). The bigger value these scores are, it is more likely to be an object window.
Python prototype (for reference only):
getobjectnessValues() -> retval
@spec getW(Keyword.t()) :: any() | {:error, String.t()}
@spec getW(t()) :: integer() | {:error, String.t()}
getW
Positional Arguments
- self:
Evision.Saliency.ObjectnessBING.t()
Return
- retval:
integer()
Python prototype (for reference only):
getW() -> retval
@spec read(Keyword.t()) :: any() | {:error, String.t()}
@spec read(t()) :: t() | {:error, String.t()}
read
Positional Arguments
- self:
Evision.Saliency.ObjectnessBING.t()
Python prototype (for reference only):
read() -> None
setBase
Positional Arguments
- self:
Evision.Saliency.ObjectnessBING.t()
- val:
double
Python prototype (for reference only):
setBase(val) -> None
This is a utility function that allows to set an arbitrary path in which the algorithm will save the optional results
Positional Arguments
self:
Evision.Saliency.ObjectnessBING.t()
resultsDir:
String
.results' folder path
(ie writing on file the total number and the list of rectangles returned by objectess, one for each row).
Python prototype (for reference only):
setBBResDir(resultsDir) -> None
setNSS
Positional Arguments
- self:
Evision.Saliency.ObjectnessBING.t()
- val:
integer()
Python prototype (for reference only):
setNSS(val) -> None
This is a utility function that allows to set the correct path from which the algorithm will load the trained model.
Positional Arguments
self:
Evision.Saliency.ObjectnessBING.t()
trainingPath:
String
.trained model path
Python prototype (for reference only):
setTrainingPath(trainingPath) -> None
setW
Positional Arguments
- self:
Evision.Saliency.ObjectnessBING.t()
- val:
integer()
Python prototype (for reference only):
setW(val) -> None
@spec write(Keyword.t()) :: any() | {:error, String.t()}
@spec write(t()) :: t() | {:error, String.t()}
write
Positional Arguments
- self:
Evision.Saliency.ObjectnessBING.t()
Python prototype (for reference only):
write() -> None