pub fn load_classifier_nm2(filename: &str) -> Result<Ptr<ERFilter_Callback>>
Expand description

Allow to implicitly load the default classifier when creating an ERFilter object.

Parameters

  • filename: The XML or YAML file with the classifier model (e.g. trained_classifierNM2.xml)

returns a pointer to ERFilter::Callback.