sararob / ml-talk-demos

Code for the demos from my Google Next '17 talk: https://youtu.be/w1xNTLH1zlA and I/O '17 talk: https://www.youtube.com/watch?v=ETeeSYMGZn0
Apache License 2.0
300 stars 126 forks source link

How to recognize particular person voice? #11

Open IAmVinnnn opened 6 years ago

IAmVinnnn commented 6 years ago

I have used google cloud speech to text API which is working well but I need to show speakers just above the line. Suppose I have an audio in which 4 persons involved Now I want to get the persons just before start his / her text. Like Person1: Here is the text of person1. Person2: Here is the text of person2. Person1: Here is another line of text from person1. Person3: Here is the text of person3. Can anyone let me know how I can get the speaker also with the text by using google API?

dariushazimi commented 5 years ago

Hi @IAmVinnnn Were you able to get this to work? You can use speaker_tag but its not working 100%. I have tried it with the latest google speech beta version v2p1beta and sometimes it works properly.

Interested to know if you found a solution?

Karliz24 commented 2 weeks ago

I have used google cloud speech to text API which is working well but I need to show speakers just above the line. Suppose I have an audio in which 4 persons involved Now I want to get the persons just before start his / her text. Like

Person1:

Here is the text of person1.

Person2:

Here is the text of person2.

Person1:

Here is another line of text from person1.

Person3:

Here is the text of person3.

Can anyone let me know how I can get the speaker also with the text by using google API?