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