Class EdgeBoxes
Class implementing EdgeBoxes algorithm from C. Lawrence Zitnick and Piotr Dollár. Edge boxes: Locating object proposals from edges. In ECCV, 2014.
public class EdgeBoxes : SharedPtrObject, IDisposable, IAlgorithm
- Inheritance
-
EdgeBoxes
- Implements
- Inherited Members
- Extension Methods
Constructors
EdgeBoxes(float, float, float, float, int, float, float, float, float, float, float, float)
Create an EdgeBox
public EdgeBoxes(float alpha = 0.65, float beta = 0.75, float eta = 1, float minScore = 0.01, int maxBoxes = 10000, float edgeMinMag = 1, float edgeMergeThr = 0.5, float clusterMinMag = 0.5, float maxAspectRatio = 3, float minBoxArea = 1000, float gamma = 2, float kappa = 1.5)
Parameters
alpha
floatStep size of sliding window search.
beta
floatNms threshold for object proposals.
eta
floatAdaptation rate for nms threshold.
minScore
floatMin score of boxes to detect.
maxBoxes
intMax number of boxes to detect.
edgeMinMag
floatEdge min magnitude. Increase to trade off accuracy for speed.
edgeMergeThr
floatEdge merge threshold. Increase to trade off accuracy for speed.
clusterMinMag
floatCluster min magnitude. Increase to trade off accuracy for speed.
maxAspectRatio
floatMax aspect ratio of boxes.
minBoxArea
floatMinimum area of boxes.
gamma
floatAffinity sensitivity.
kappa
floatScale sensitivity.
Properties
AlgorithmPtr
Pointer to cv::Algorithm
public nint AlgorithmPtr { get; }
Property Value
Methods
DisposeObject()
protected override void DisposeObject()
GetBoundingBoxes(IInputArray, IInputArray)
Returns array containing proposal boxes.
public Rectangle[] GetBoundingBoxes(IInputArray edgeMap, IInputArray orientationMap)
Parameters
edgeMap
IInputArrayedge image.
orientationMap
IInputArrayorientation map.
Returns
- Rectangle[]
Proposal boxes.