Loads a HOG descriptor config from a file or a string
status = hog.load(filename)
status = hog.load(str, 'FromString',true)
status = hog.load(..., 'OptionName',optionValue, ...)
Input
- filename HOG descriptor config filename (XML or YAML),
containing properties and coefficients of the trained
classifier.
- str String containing the serialized HOG descriptor you
want to load.
Output
- status a logical value indicating success of load.
Options
- ObjName The optional name of the node to read (if empty,
the first top-level node will be used). default empty
- FromString Logical flag to indicate whether the input is a
filename or a string containing the serialized model.
default false
Loads coefficients for the linear SVM classifier from a file.