EdgeBoxes constructor
EdgeBoxes({})
Implementation
factory EdgeBoxes({
double alpha = 0.65,
double beta = 0.75,
double eta = 1,
double minScore = 0.01,
int maxBoxes = 10000,
double edgeMinMag = 0.1,
double edgeMergeThr = 0.5,
double clusterMinMag = 0.5,
double maxAspectRatio = 3,
double minBoxArea = 1000,
double gamma = 2,
double kappa = 1.5,
}) {
final p = calloc<cvg.EdgeBoxes>();
cvRun(
() => ccontrib.cv_ximgproc_EdgeBoxes_create(
alpha,
beta,
eta,
minScore,
maxBoxes,
edgeMinMag,
edgeMergeThr,
clusterMinMag,
maxAspectRatio,
minBoxArea,
gamma,
kappa,
p,
),
);
return EdgeBoxes.fromPointer(p);
}