Android Recognize the voice of two people differently

I want to develop an Android application.

One of the features of the application is to recognize the voice of two people.

It will be kike this - when the application opens, 2 people will talk in front of it. The application will detect that 2 people say and calculate how many% (let 2 people be A and B) of a person. Says the same for person B.

So, let's say, after 1 minute the application will say that negotiations 80% and B say 20%.

So, I need how to distinguish the voice of two people.

I tried SpeechRecognizer and android.speech.tts . But I can’t make it work.

Is it possible to distinguish the voice of 2 people in android?

Thanks in advance for your help.

+6
source share
1 answer

SpeechRecognizer or TTS will not help you because they are designed for speech recognition. You must use DSP technology to recognize the speaker. Due to the complexity, I don’t think you can achieve this in the device itself. You can save your sound (using something like AudioRecord in Android) and then send it to the server. on the server side, you can run the speaker recognition program. ALIZE is a fairly popular open source tool for this.

+4
source

Source: https://habr.com/ru/post/978563/


All Articles