MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ set_extraction_method() [1/2]

template<ComputeData InputType = std::vector<Kakshya::DataVariant>, ComputeData OutputType = std::vector<std::vector<double>>>
void MayaFlux::Yantra::FeatureExtractor< InputType, OutputType >::set_extraction_method ( const std::string &  method_name)
inline

Set extraction method using string (case-insensitive)

Parameters
method_nameString representation of method

Definition at line 116 of file FeatureExtractor.hpp.

117 {
118 m_method = string_to_method(method_name);
119 this->set_parameter("method", method_name);
120 }
static ExtractionMethod string_to_method(const std::string &str)
Convert string to extraction method enum.