#include <ros/ros.h>
#include <iostream>
#include <thread>
#include "asr/baidu/asr_online.h"
#include "common_config.h"
#include "file_operation.h"
#include "asr/xunfei/xfei_speech_recog.h"
Go to the source code of this file.
Functions | |
int | main (int argc, char **argv) |
void | offlineRecog () |
void | onlineRecog () |
Variables | |
XfeiSpeechRecog | asr_module |
BaiduAsrOnline | asr_online_module |
std::string | base_path |
int | count = 0 |
std::string | log_path |
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 54 of file read_all_files_and_recog.cpp.
void offlineRecog | ( | ) |
Definition at line 16 of file read_all_files_and_recog.cpp.
void onlineRecog | ( | ) |
Definition at line 37 of file read_all_files_and_recog.cpp.
XfeiSpeechRecog asr_module |
Definition at line 9 of file read_all_files_and_recog.cpp.
BaiduAsrOnline asr_online_module |
Definition at line 10 of file read_all_files_and_recog.cpp.
std::string base_path |
Definition at line 12 of file read_all_files_and_recog.cpp.
int count = 0 |
Definition at line 11 of file read_all_files_and_recog.cpp.
std::string log_path |
Definition at line 13 of file read_all_files_and_recog.cpp.