简体   繁体   中英

Speech to speech recognition android studio

Apologise if this question is structured wrong or in the wrong place.

I was wondering if it was possible to speech to speech recongition in android studio on an app?

For example the user says logout and the application responds by saying goodbye and logs them out?

Is this possible or just text to speech possible?

yes, it is possible. you need to use some API to convert the audio to text, you can use google speech-to-text API ( https://cloud.google.com/speech-to-text ), there may be others, but I just know this one.

Then depending on the text that you get from the API you need to do your own logic, like for example, if you get the work "logout" you then use text to speach to say "goodbye" and then you logout the user.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM