This invention discloses a speaker recognition and
emotion perception method based on AR glasses. The
system combines
microphone arrays,
cloud computing, and multi-model fusion technology to achieve real-time recognition and display of speaker identity information, speech content, and emotional state. The method first acquires multi-channel speech signals through a
microphone array and improves
speech quality using preprocessing techniques such as
beamforming,
noise reduction,
speech enhancement, and voice endpoint detection (VAD). Subsequently, the
system runs an ECAPA-TDNN voiceprint recognition model in the cloud to obtain speaker embedding vectors. Through acoustic features such as MFCC, Fbank, and LPCC, and an AAM-Softmax training mechanism, it identifies gender, age, and speaker identity. A CTC end-to-end
speech recognition model is used to complete real-time
speech transcription. Finally, an
emotion recognition model based on Wav2Vec 2.0 and
Transformer, combined with MFCC features, emotion embedding, and attention-weighted fusion strategies, achieves high-precision recognition of multiple emotions such as "happy, angry, sad, and calm."