ml_SVM_load
import { ml_SVM_load } from '@banou/opencv-wasm'Use after await initOpenCV(). See the initialization and named imports guide.
ARGUMENTSfilepath
FUNCTIONml_SVM_load
RETURN TYPEml_SVM | null
Loads and creates a serialized svm from a file
Use SVM::save to serialize and store an SVM to disk. Load the SVM from this file again, by calling this function with the path to the file.
ml_SVM_load(filepath: EmbindString): ml_SVM | null;filepathpath to serialized svm
Returns
The ml_SVM | 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.