Template
|
Recognition Class Reference
Management of the recognition class . More...
#include <reco.h>
Public Member Functions | |
Recognition () | |
utils libraries | |
Recognition (std::string pathtobin, std::string lang) | |
Recognition Constructor. | |
~Recognition () | |
Recognition Destructor. | |
bool | initializeObjects () |
Init Recognition Objects. | |
void | callbackEventReco () |
Recognition Event Callback. | |
int | getVolume () |
Get The volume from recognition. | |
void | setVolume (int volume) |
Set The volume for the recognition. | |
void | AddWord (std::string s_Rule, std::string s_Word) |
Add word to recognition. | |
Recognition () | |
Recognition (std::string pathtobin, std::string lang) | |
~Recognition () | |
void | cbThread () |
void | fillAudioBuffer (const char *data, size_t lenght) |
bool | initializeObjects () |
int | getVolume () |
void | setVolume (int volume) |
void | AddWord (std::string s_Rule, std::string s_Word) |
Recognition () | |
Recognition (std::string pathtobin, std::string lang) | |
~Recognition () | |
void | cbThread () |
void | fillAudioBuffer (const char *data, size_t lenght) |
bool | initializeObjects () |
int | getVolume () |
void | setVolume (int volume) |
void | AddWord (std::string s_Rule, std::string s_Word) |
Static Public Member Functions | |
static void _stdcall | sapi_callback (WPARAM wParam, LPARAM lParam) |
Defines the SAPI callback. | |
Detailed Description
Constructor & Destructor Documentation
◆ Recognition() [1/6]
Recognition::Recognition | ( | ) |
◆ Recognition() [2/6]
Recognition::Recognition | ( | std::string | pathtobin, |
std::string | lang | ||
) |
Recognition Constructor.
◆ ~Recognition() [1/3]
Recognition::~Recognition | ( | ) |
Recognition Destructor.
◆ Recognition() [3/6]
Recognition::Recognition | ( | ) |
◆ Recognition() [4/6]
Recognition::Recognition | ( | std::string | pathtobin, |
std::string | lang | ||
) |
◆ ~Recognition() [2/3]
Recognition::~Recognition | ( | ) |
◆ Recognition() [5/6]
Recognition::Recognition | ( | ) |
◆ Recognition() [6/6]
Recognition::Recognition | ( | std::string | pathtobin, |
std::string | lang | ||
) |
◆ ~Recognition() [3/3]
Recognition::~Recognition | ( | ) |
Member Function Documentation
◆ AddWord() [1/3]
void Recognition::AddWord | ( | std::string | s_Rule, |
std::string | s_Word | ||
) |
◆ AddWord() [2/3]
void Recognition::AddWord | ( | std::string | s_Rule, |
std::string | s_Word | ||
) |
◆ AddWord() [3/3]
void Recognition::AddWord | ( | std::string | s_Rule, |
std::string | s_Word | ||
) |
◆ callbackEventReco()
void Recognition::callbackEventReco | ( | ) |
Recognition Event Callback.
◆ cbThread() [1/2]
void Recognition::cbThread | ( | ) |
Definition at line 189 of file reco_sphinx.cpp.
◆ cbThread() [2/2]
void Recognition::cbThread | ( | ) |
◆ fillAudioBuffer() [1/2]
void Recognition::fillAudioBuffer | ( | const char * | data, |
size_t | lenght | ||
) |
Definition at line 180 of file reco_sphinx.cpp.
◆ fillAudioBuffer() [2/2]
void Recognition::fillAudioBuffer | ( | const char * | data, |
size_t | lenght | ||
) |
◆ getVolume() [1/3]
int Recognition::getVolume | ( | ) |
◆ getVolume() [2/3]
int Recognition::getVolume | ( | ) |
◆ getVolume() [3/3]
int Recognition::getVolume | ( | ) |
◆ initializeObjects() [1/3]
bool Recognition::initializeObjects | ( | ) |
Init Recognition Objects.
◆ initializeObjects() [2/3]
bool Recognition::initializeObjects | ( | ) |
◆ initializeObjects() [3/3]
bool Recognition::initializeObjects | ( | ) |
◆ sapi_callback()
|
static |
◆ setVolume() [1/3]
void Recognition::setVolume | ( | int | volume | ) |
◆ setVolume() [2/3]
void Recognition::setVolume | ( | int | volume | ) |
◆ setVolume() [3/3]
void Recognition::setVolume | ( | int | volume | ) |
The documentation for this class was generated from the following files:
- include/reco.h
- include/reco_sphinx.h
- include/reco_vosk.h
- src/reco.cpp
- src/reco_sphinx.cpp
- src/reco_vosk.cpp
Generated by 1.9.8