//javadoc: RTrees::load(filepath) public static new RTrees load(string filepath) { #if ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER RTrees retVal = RTrees.__fromPtr__(ml_RTrees_load_11(filepath)); return(retVal); #else return(null); #endif }
// // C++: static Ptr_RTrees cv::ml::RTrees::create() // //javadoc: RTrees::create() public static new RTrees create() { #if ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER RTrees retVal = RTrees.__fromPtr__(ml_RTrees_create_10()); return(retVal); #else return(null); #endif }
// // C++: static Ptr_RTrees cv::ml::RTrees::load(String filepath, String nodeName = String()) // /** * Loads and creates a serialized RTree from a file * * Use RTree::save to serialize and store an RTree to disk. * Load the RTree from this file again, by calling this function with the path to the file. * Optionally specify the node for the file containing the classifier * * param filepath path to serialized RTree * param nodeName name of node containing the classifier * return automatically generated */ public static new RTrees load(string filepath, string nodeName) { return(RTrees.__fromPtr__(ml_RTrees_load_10(filepath, nodeName))); }
// // C++: static Ptr_RTrees cv::ml::RTrees::create() // /** * Creates the empty model. * Use StatModel::train to train the model, StatModel::train to create and train the model, * Algorithm::load to load the pre-trained model. * return automatically generated */ public static new RTrees create() { return(RTrees.__fromPtr__(ml_RTrees_create_10())); }
/** * Loads and creates a serialized RTree from a file * * Use RTree::save to serialize and store an RTree to disk. * Load the RTree from this file again, by calling this function with the path to the file. * Optionally specify the node for the file containing the classifier * * param filepath path to serialized RTree * return automatically generated */ public static new RTrees load(string filepath) { return(RTrees.__fromPtr__(ml_RTrees_load_11(filepath))); }