/
Add Speech to Text Feature
Add Speech to Text Feature
Speech to text feature to be used for control of the prototype.
Potential Tools:
- Google Speech API
- Web Speech Recognition API
Google Speech API
- https://cloud.google.com/speech-to-text/
Pros:
- Cross-Platform API
- Better in recognizing words
- Covers 120 languages
Cons:
- Not free to use
- End users need some technical knowledges
Web Speech Recognition API
- https://developer.mozilla.org/en-US/docs/Web/API/Web_Speech_API
Pros:
- Free to use
- Calling browser property as it is, so no additional modules are required
- Easier to use than Google Speech API
Cons:
- Only supported on Web Chrome, Android Webview, and Chrome for Android
- Users need to be able to pronounce words correctly
Example of Web Speech Recognition API
- Only available on Chrome: https://c2lc-demo.web.app (Press start to start using the feature and say commands on the buttons) Git: https://github.com/chosww/c2lc-react/tree/voice-command/feat