需要先初始化监听器,语音与心率的情绪测试按照自己需要进行调用,以andorid调用为例,启动语音监听代码为: Emotiondetectemotiondetect = Emotiondetect.createRecognizer(this, mInitListener); emotiondetect.startListening(mRecognizerListener);