IOS10新特性:Speech Recognition(语音识别)

iOS 10引入了新的Speech Recognition API,支持实时和录音的语音转文字。通过添加NSSpeechRecognitionUsageDescription到Info.plist并获取用户权限,开发者可以利用该API在应用中实现语音识别功能。尽管需要将数据传输到苹果服务器以提高识别准确性,但必须确保在识别用户语音时告知用户,以保护敏感信息。在iPhone 7/7P的热潮中,开发者可以利用Xcode 8和Speech框架创建具有语音识别功能的应用。
摘要由CSDN通过智能技术生成

附:苹果官方文档


Speech Recognition

iOS 10 introduces a new API that supports continuous speech recognition and helps you build apps that can recognize speech and transcribe it into text. Using the APIs in the Speech framework (Speech.framework), you can perform speech transcription of both real-time and recorded audio. For example, you can get a speech recognizer and start simple speech recognition using code like this:

let recognizer = SFSpeechRecognizer()
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值