main.cpp
432 Bytes
#include "speak_detector.h"
int main(){
SpeakDetector speak = SpeakDetector();
speak.init_model("/home/situ/qfs/sdk_project/speak_det_c/model/det_face_retina_torch_1.4_v0.0.2.onnx","/home/situ/qfs/sdk_project/speak_det_c/model/det_landmarks_106_v0.0.1.onnx","/home/situ/qfs/sdk_project/speak_det_c/model/cls_speak_v0.2.2.mnn");
speak.speak_recognize("/data/speak/bank_test/speak/2327QUESTION_ANSWER");
return 0;
}