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<ccontrib.EdgeBoxes>()
..ref.alpha = alpha
..ref.beta = beta
..ref.eta = eta
..ref.minScore = minScore
..ref.maxBoxes = maxBoxes
..ref.edgeMinMag = edgeMinMag
..ref.edgeMergeThr = edgeMergeThr
..ref.clusterMinMag = clusterMinMag
..ref.maxAspectRatio = maxAspectRatio
..ref.minBoxArea = minBoxArea
..ref.gamma = gamma
..ref.kappa = kappa;
return EdgeBoxes.fromPointer(p);
}