Google Cloud Speech Recognition 3.0
Google Cloud Speech Recognition How to use First of all, you need to add GCSpeechRecognition prefab from FrostweepGames->GCSpeechRecognition->Prefabs folder to your working scene. Then you need to set your own API key of Google Cloud Speech Recognition into Api Key field and enable IsUseAPIKeyFromPrefab if you want to set api key in prefab, if not – will be used API Key from Constants.cs script. If you don’t have API Key, you can get it from https://cloud.google.com/speech/ , https://cloud.google.com/speech/docs/common/auth#restrictions Frostweep Games, 2017 Then we need to create script with name Example and write base logic: You can handle response of Speech Recognition in SpeechRecognizedSuccessEventHandler To get result of the recognition you can use RecognitionResponse->results->alternatives->transcript path. Where RecognitionResponse is an instance of the RecognitionResponse object. For the start recording you can call this method: Include Boolean parameter for enabling runtime voice detection or not. For the stop recording you can call this method: For set the list of arrays of speech contexts you can call this method: Frostweep Games, 2017 _speechRecognition is an instance of GCSpeechRecognition class: If you want to set language you can call this method (where value is integer converted to LanguageCode enum):
- 粉丝: 15
- 资源: 11
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 基于智能家居综合实训台全部资料+详细文档+优秀项目.zip
- 在Postman中创建和管理请求集.pdf
- 学术规范与论文写作:科研诚信和论文撰写技巧
- HTTP协议详解:从基础知识到最新发展全面解析
- 2020年江西省赛中职网络搭建与应用竞赛样题
- 数据结构领域中的二叉树深度计算算法及其Python实现
- pyhton圣诞树代码
- 包装胶带涂布头(含工程图)sw16可编辑全套技术开发资料100%好用.zip
- 拔棉杆粉碎残膜回收联合作业机设计与仿真(sw12可编辑+CAD+说明书)全套技术开发资料100%好用.zip
- SMTM自动撕膜贴膜设备sw14可编辑全套技术开发资料100%好用.zip
- 跨年烟花代码python
- SIMATIC Visualization Architect V17版本-安装包-链接地址.txt
- 基于java+ssm+mysql的驾校预约管理系统开题报告.doc
- 基于java+ssm+mysql的人事档案管理系统任务书.doc
- 基于java+ssm+mysql的4S店预约保养系统开题报告.docx
- 圣诞树代码编程python-10.高低位交换-这就是python!.py