StructuredEdgeDetection.create constructor
StructuredEdgeDetection.create(
- String model
Implementation
factory StructuredEdgeDetection.create(String model) {
final cmodel = model.toNativeUtf8().cast<ffi.Char>();
final p = calloc<cvg.StructuredEdgeDetection>();
cvRun(() => ccontrib.cv_ximgproc_StructuredEdgeDetection_create(cmodel, p));
calloc.free(cmodel);
return StructuredEdgeDetection.fromPointer(p);
}