Go to the documentation of this file.
22 #include <picovoice.h>
23 #include <pv_porcupine.h>
pv_porcupine_t * porcupine_
std::ostream & operator<<(std::ostream &os, const PorcupineRecognizerData::Parameters &p)
RecordSettings getRecordSettings() override
std::vector< std::string > keyword_names_
bool recognizeProcess(int16_t *frames) override
PorcupineRecognizerData::Result getResult() override
getResult Get the recognition result
PorcupineRecognizerData::Result result_
std::vector< const char * > keyword_paths_
std::vector< float > keyword_sensitivities_
struct pv_porcupine pv_porcupine_t
std::map< std::string, std::string > keywords_
keywords_ Map from a keyword names to a keyword.ppn paths
void configure(const PorcupineRecognizerData::Parameters ¶meters) override
double sensitivity_
sensitivity_ Recognizer sensitivity
bool is_understood_
is_understood_ Whether the recognizer understood a keyword
std::string keyword_name_
keyword_name_ Detected keyword name
void recognizeInit() override