Automatic Speech Recognition

Service Introduction

Automatic speech recognition (ASR) can recognize speech not longer than 60 seconds and convert the input speech into text in real time. This service uses industry-leading deep learning technologies to achieve a recognition accuracy of over 95%. Currently, Mandarin Chinese (including Chinese-English bilingual speech), English, French, German, Spanish, and Italian can be recognized.

Precautions

  • Currently, ASR is available only on Huawei phones.
  • ASR depends on the on-cloud API for speech recognition. During commissioning and usage, ensure that the device can access the Internet.

Integrating the Automatic Speech Recognition Service

You can integrate the automatic speech recognition (ASR) service in either of the following modes:

  • Integrate the ASR plug-in
  • Integrate the ASR SDK

The SDK provides only the basic ASR services, and you need to develop the speech pickup UI by yourself.

The sample code for integration through SDK is as follows:

dependencies{

// Import the ASR SDK.

  implementation 'com.huawei.hms:ml-computer-voice-asr:2.0.1.300'

}

#mobile #integration #web dev #android #application #opensource

Example of Automatic Speech Recognition Without Pickup UI
2.70 GEEK