View Source Evision.XImgProc.EdgeBoxes (Evision v0.2.9)
Summary
Functions
Clears the algorithm state
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Returns the step size of sliding window search.
Returns the nms threshold for object proposals.
Returns array containing proposal boxes.
Returns array containing proposal boxes.
Returns the cluster min magnitude.
getDefaultName
Returns the edge merge threshold.
Returns the edge min magnitude.
Returns adaptation rate for nms threshold.
Returns the affinity sensitivity.
Returns the scale sensitivity.
Returns the max aspect ratio of boxes.
Returns the max number of boxes to detect.
Returns the minimum area of boxes.
Returns the min score of boxes to detect.
Reads algorithm parameters from a file storage
save
Sets the step size of sliding window search.
Sets the nms threshold for object proposals.
Sets the cluster min magnitude.
Sets the edge merge threshold.
Sets the edge min magnitude.
Sets the adaptation rate for nms threshold.
Sets the affinity sensitivity
Sets the scale sensitivity.
Sets the max aspect ratio of boxes.
Sets max number of boxes to detect.
Sets the minimum area of boxes.
Sets the min score of boxes to detect.
Stores algorithm parameters in a file storage
write
Types
@type t() :: %Evision.XImgProc.EdgeBoxes{ref: reference()}
Type that represents an XImgProc.EdgeBoxes
struct.
ref.
reference()
The underlying erlang resource variable.
Functions
@spec clear(Keyword.t()) :: any() | {:error, String.t()}
@spec clear(t()) :: t() | {:error, String.t()}
Clears the algorithm state
Positional Arguments
- self:
Evision.XImgProc.EdgeBoxes.t()
Python prototype (for reference only):
clear() -> None
@spec empty(Keyword.t()) :: any() | {:error, String.t()}
@spec empty(t()) :: boolean() | {:error, String.t()}
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Positional Arguments
- self:
Evision.XImgProc.EdgeBoxes.t()
Return
- retval:
bool
Python prototype (for reference only):
empty() -> retval
@spec getAlpha(Keyword.t()) :: any() | {:error, String.t()}
@spec getAlpha(t()) :: number() | {:error, String.t()}
Returns the step size of sliding window search.
Positional Arguments
- self:
Evision.XImgProc.EdgeBoxes.t()
Return
- retval:
float
Python prototype (for reference only):
getAlpha() -> retval
@spec getBeta(Keyword.t()) :: any() | {:error, String.t()}
@spec getBeta(t()) :: number() | {:error, String.t()}
Returns the nms threshold for object proposals.
Positional Arguments
- self:
Evision.XImgProc.EdgeBoxes.t()
Return
- retval:
float
Python prototype (for reference only):
getBeta() -> retval
@spec getBoundingBoxes(t(), Evision.Mat.maybe_mat_in(), Evision.Mat.maybe_mat_in()) :: {[{number(), number(), number(), number()}], Evision.Mat.t()} | {:error, String.t()}
Returns array containing proposal boxes.
Positional Arguments
self:
Evision.XImgProc.EdgeBoxes.t()
edge_map:
Evision.Mat
.edge image.
orientation_map:
Evision.Mat
.orientation map.
Return
boxes:
[Rect]
.proposal boxes.
scores:
Evision.Mat.t()
.of the proposal boxes, provided a vector of float types.
Python prototype (for reference only):
getBoundingBoxes(edge_map, orientation_map[, scores]) -> boxes, scores
@spec getBoundingBoxes( t(), Evision.Mat.maybe_mat_in(), Evision.Mat.maybe_mat_in(), [{atom(), term()}, ...] | nil ) :: {[{number(), number(), number(), number()}], Evision.Mat.t()} | {:error, String.t()}
Returns array containing proposal boxes.
Positional Arguments
self:
Evision.XImgProc.EdgeBoxes.t()
edge_map:
Evision.Mat
.edge image.
orientation_map:
Evision.Mat
.orientation map.
Return
boxes:
[Rect]
.proposal boxes.
scores:
Evision.Mat.t()
.of the proposal boxes, provided a vector of float types.
Python prototype (for reference only):
getBoundingBoxes(edge_map, orientation_map[, scores]) -> boxes, scores
@spec getClusterMinMag(Keyword.t()) :: any() | {:error, String.t()}
@spec getClusterMinMag(t()) :: number() | {:error, String.t()}
Returns the cluster min magnitude.
Positional Arguments
- self:
Evision.XImgProc.EdgeBoxes.t()
Return
- retval:
float
Python prototype (for reference only):
getClusterMinMag() -> retval
@spec getDefaultName(Keyword.t()) :: any() | {:error, String.t()}
@spec getDefaultName(t()) :: binary() | {:error, String.t()}
getDefaultName
Positional Arguments
- self:
Evision.XImgProc.EdgeBoxes.t()
Return
- retval:
String
Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Python prototype (for reference only):
getDefaultName() -> retval
@spec getEdgeMergeThr(Keyword.t()) :: any() | {:error, String.t()}
@spec getEdgeMergeThr(t()) :: number() | {:error, String.t()}
Returns the edge merge threshold.
Positional Arguments
- self:
Evision.XImgProc.EdgeBoxes.t()
Return
- retval:
float
Python prototype (for reference only):
getEdgeMergeThr() -> retval
@spec getEdgeMinMag(Keyword.t()) :: any() | {:error, String.t()}
@spec getEdgeMinMag(t()) :: number() | {:error, String.t()}
Returns the edge min magnitude.
Positional Arguments
- self:
Evision.XImgProc.EdgeBoxes.t()
Return
- retval:
float
Python prototype (for reference only):
getEdgeMinMag() -> retval
@spec getEta(Keyword.t()) :: any() | {:error, String.t()}
@spec getEta(t()) :: number() | {:error, String.t()}
Returns adaptation rate for nms threshold.
Positional Arguments
- self:
Evision.XImgProc.EdgeBoxes.t()
Return
- retval:
float
Python prototype (for reference only):
getEta() -> retval
@spec getGamma(Keyword.t()) :: any() | {:error, String.t()}
@spec getGamma(t()) :: number() | {:error, String.t()}
Returns the affinity sensitivity.
Positional Arguments
- self:
Evision.XImgProc.EdgeBoxes.t()
Return
- retval:
float
Python prototype (for reference only):
getGamma() -> retval
@spec getKappa(Keyword.t()) :: any() | {:error, String.t()}
@spec getKappa(t()) :: number() | {:error, String.t()}
Returns the scale sensitivity.
Positional Arguments
- self:
Evision.XImgProc.EdgeBoxes.t()
Return
- retval:
float
Python prototype (for reference only):
getKappa() -> retval
@spec getMaxAspectRatio(Keyword.t()) :: any() | {:error, String.t()}
@spec getMaxAspectRatio(t()) :: number() | {:error, String.t()}
Returns the max aspect ratio of boxes.
Positional Arguments
- self:
Evision.XImgProc.EdgeBoxes.t()
Return
- retval:
float
Python prototype (for reference only):
getMaxAspectRatio() -> retval
@spec getMaxBoxes(Keyword.t()) :: any() | {:error, String.t()}
@spec getMaxBoxes(t()) :: integer() | {:error, String.t()}
Returns the max number of boxes to detect.
Positional Arguments
- self:
Evision.XImgProc.EdgeBoxes.t()
Return
- retval:
integer()
Python prototype (for reference only):
getMaxBoxes() -> retval
@spec getMinBoxArea(Keyword.t()) :: any() | {:error, String.t()}
@spec getMinBoxArea(t()) :: number() | {:error, String.t()}
Returns the minimum area of boxes.
Positional Arguments
- self:
Evision.XImgProc.EdgeBoxes.t()
Return
- retval:
float
Python prototype (for reference only):
getMinBoxArea() -> retval
@spec getMinScore(Keyword.t()) :: any() | {:error, String.t()}
@spec getMinScore(t()) :: number() | {:error, String.t()}
Returns the min score of boxes to detect.
Positional Arguments
- self:
Evision.XImgProc.EdgeBoxes.t()
Return
- retval:
float
Python prototype (for reference only):
getMinScore() -> retval
@spec read(t(), Evision.FileNode.t()) :: t() | {:error, String.t()}
Reads algorithm parameters from a file storage
Positional Arguments
- self:
Evision.XImgProc.EdgeBoxes.t()
- func:
Evision.FileNode
Python prototype (for reference only):
read(fn) -> None
save
Positional Arguments
- self:
Evision.XImgProc.EdgeBoxes.t()
- filename:
String
Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
Python prototype (for reference only):
save(filename) -> None
Sets the step size of sliding window search.
Positional Arguments
- self:
Evision.XImgProc.EdgeBoxes.t()
- value:
float
Python prototype (for reference only):
setAlpha(value) -> None
Sets the nms threshold for object proposals.
Positional Arguments
- self:
Evision.XImgProc.EdgeBoxes.t()
- value:
float
Python prototype (for reference only):
setBeta(value) -> None
Sets the cluster min magnitude.
Positional Arguments
- self:
Evision.XImgProc.EdgeBoxes.t()
- value:
float
Python prototype (for reference only):
setClusterMinMag(value) -> None
Sets the edge merge threshold.
Positional Arguments
- self:
Evision.XImgProc.EdgeBoxes.t()
- value:
float
Python prototype (for reference only):
setEdgeMergeThr(value) -> None
Sets the edge min magnitude.
Positional Arguments
- self:
Evision.XImgProc.EdgeBoxes.t()
- value:
float
Python prototype (for reference only):
setEdgeMinMag(value) -> None
Sets the adaptation rate for nms threshold.
Positional Arguments
- self:
Evision.XImgProc.EdgeBoxes.t()
- value:
float
Python prototype (for reference only):
setEta(value) -> None
Sets the affinity sensitivity
Positional Arguments
- self:
Evision.XImgProc.EdgeBoxes.t()
- value:
float
Python prototype (for reference only):
setGamma(value) -> None
Sets the scale sensitivity.
Positional Arguments
- self:
Evision.XImgProc.EdgeBoxes.t()
- value:
float
Python prototype (for reference only):
setKappa(value) -> None
Sets the max aspect ratio of boxes.
Positional Arguments
- self:
Evision.XImgProc.EdgeBoxes.t()
- value:
float
Python prototype (for reference only):
setMaxAspectRatio(value) -> None
Sets max number of boxes to detect.
Positional Arguments
- self:
Evision.XImgProc.EdgeBoxes.t()
- value:
integer()
Python prototype (for reference only):
setMaxBoxes(value) -> None
Sets the minimum area of boxes.
Positional Arguments
- self:
Evision.XImgProc.EdgeBoxes.t()
- value:
float
Python prototype (for reference only):
setMinBoxArea(value) -> None
Sets the min score of boxes to detect.
Positional Arguments
- self:
Evision.XImgProc.EdgeBoxes.t()
- value:
float
Python prototype (for reference only):
setMinScore(value) -> None
@spec write(t(), Evision.FileStorage.t()) :: t() | {:error, String.t()}
Stores algorithm parameters in a file storage
Positional Arguments
- self:
Evision.XImgProc.EdgeBoxes.t()
- fs:
Evision.FileStorage
Python prototype (for reference only):
write(fs) -> None
@spec write(t(), Evision.FileStorage.t(), binary()) :: t() | {:error, String.t()}
write
Positional Arguments
- self:
Evision.XImgProc.EdgeBoxes.t()
- fs:
Evision.FileStorage
- name:
String
Has overloading in C++
Python prototype (for reference only):
write(fs, name) -> None