ml_RTrees_load
import { ml_RTrees_load } from '@banou/opencv-wasm'Use after await initOpenCV(). See the initialization and named imports guide.
ARGUMENTSfilepath, nodeName
FUNCTIONml_RTrees_load
RETURN TYPEml_RTrees | null
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
ml_RTrees_load(filepath: EmbindString, nodeName: EmbindString): ml_RTrees | null;2 available overloads
ml_RTrees_load(filepath: EmbindString): ml_RTrees | null;ml_RTrees_load(filepath: EmbindString, nodeName: EmbindString): ml_RTrees | null;filepathpath to serialized RTree
nodeNamename of node containing the classifier
Returns
The ml_RTrees | null result.
These signatures describe this package. Upstream documentation can mention optional backends that are absent from this build. Check runtime compatibility before choosing a backend or file format.