StructuredEdgeDetectionCreate Method
|
Creates a StructuredEdgeDetection
Namespace:
OpenCvSharp.XImgProc
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 3.4.1.20180605-33-CaRLSharp
Syntaxpublic static StructuredEdgeDetection Create(
string model,
RFFeatureGetter howToGetFeatures = null
)
Public Shared Function Create (
model As String,
Optional howToGetFeatures As RFFeatureGetter = Nothing
) As StructuredEdgeDetection
public:
static StructuredEdgeDetection^ Create(
String^ model,
RFFeatureGetter^ howToGetFeatures = nullptr
)
static member Create :
model : string *
?howToGetFeatures : RFFeatureGetter
(* Defaults:
let _howToGetFeatures = defaultArg howToGetFeatures null
*)
-> StructuredEdgeDetection
OpenCvSharp.XImgProc.StructuredEdgeDetection.Create = function(model, howToGetFeatures);
Parameters
- model
- Type: SystemString
name of the file where the model is stored - howToGetFeatures (Optional)
- Type: OpenCvSharp.XImgProcRFFeatureGetter
optional object inheriting from RFFeatureGetter.
You need it only if you would like to train your own forest, pass null otherwise
Return Value
Type:
StructuredEdgeDetection
See Also