问题
I followed this tuto: https://jbinformatique.com/2018/02/16/android-speech-to-text-api-google-tutoriel/
It works nice ! It uses android.speech.RecognizerIntent package it's free and it works without Internet as mentionned here:
Difference between Android Speech to Text API (Recognizer Intent) and Google Cloud Speech API?
However when I start the speech recognition, I get the following notification :
If I translate (as I can..), it says : "Your audio records will be sent to Google and used for speech recognition. Transcription will be shared with this application. File recorded on "....@gmail.com"
I thought that speech recognition was processed in local....Moreover it works without internet... so is this notification true ? Or must I add something in code to be sure that no data are sent to Google ?
回答1:
Android's SpeechRecognizer is only an interface to the speech recognition engine installed in the system and chosen as the default. For example, the default Google's recognizer supports both online and offline modes. When the internet connection is present, it sends raw data to and obtains the final result from the Google's internal cloud recognition service, hence the privacy warning on your screenshot. When there is no internet connection, it uses some proprietary on-board recognizer.
My general advise is to use a speech recognition system that you completely trust to if you are concerned about the privacy of the users' speech input.
来源:https://stackoverflow.com/questions/56459065/android-speech-to-text-api-google-notification