MATLAB File Help: cv.KNearest/load | Index |
Loads algorithm from a file or a string
model.load(filename)
model.load(str, 'FromString',true)
model.load(..., 'OptionName',optionValue, ...)
Algorithm<T>::load()
and
Algorithm<T>::loadFromString()
C++ methods).
default falseThis method loads the complete model state from the specified XML or YAML file (either from disk or serialized string). The previous model state is cleared.
Access | public |
Sealed | false |
Static | false |