ml_Boost_load
import { ml_Boost_load } from '@banou/opencv-wasm'Use after await initOpenCV(). See the initialization and named imports guide.
ARGUMENTSfilepath, nodeName
FUNCTIONml_Boost_load
RETURN TYPEml_Boost | null
Loads and creates a serialized Boost from a file
Use Boost::save to serialize and store an RTree to disk. Load the Boost 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_Boost_load(filepath: EmbindString, nodeName: EmbindString): ml_Boost | null;2 available overloads
ml_Boost_load(filepath: EmbindString): ml_Boost | null;ml_Boost_load(filepath: EmbindString, nodeName: EmbindString): ml_Boost | null;filepathpath to serialized Boost
nodeNamename of node containing the classifier
Returns
The ml_Boost | 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.