/// <summary> /// Creates a StructuredEdgeDetection /// </summary> /// <param name="model">name of the file where the model is stored</param> /// <param name="howToGetFeatures">optional object inheriting from RFFeatureGetter. /// You need it only if you would like to train your own forest, pass null otherwise</param> /// <returns></returns> public static StructuredEdgeDetection CreateStructuredEdgeDetection(string model, RFFeatureGetter howToGetFeatures = null) { return(StructuredEdgeDetection.Create(model, howToGetFeatures)); }
/// <summary> /// Creates a RFFeatureGetter /// </summary> /// <returns></returns> public static RFFeatureGetter CreateRFFeatureGetter() { return(RFFeatureGetter.Create()); }