SVM.load constructor

SVM.load(
  1. String filepath
)

Loads a model saved with save from filepath. Throws CvException when the file does not hold a valid model.

Implementation

factory SVM.load(String filepath) => using(
  (arena) => SVM._make((p) => cml.cv_ml_SVM_load(filepath.toNativeUtf8(allocator: arena).cast(), p)),
);