在桌面 (Windows) 应用程序的 flutter 中将语音转换为文本
我正在 flutter 中开发一个跨平台应用程序,但找不到任何在桌面(Windows)中将语音转换为文本的源。
我尝试使用像 speech_to_text
我什至尝试过 google_speech 其中需要音频文件才能将其转录为文本。但是,我找不到任何用于在 Windows 中获取麦克风输入的包,以便我可以将其传递给 API 并获取文本。
有什么可能的解决方案吗?
I am developing a cross platform application in flutter and cannot find any sources for converting speech to text in desktop(windows).
I tried using packages like speech_to_text
I even tried google_speech in which it require an audio file to transcribe it to text. But, I could not find any package for taking microphone input in windows so that I can pass it to an API and get the text.
Is there any possible solution for this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以尝试使用 https://pub.dev/packages/record 录制音频,然后发送API请求
you can try to use https://pub.dev/packages/record to record your audio and then send APi request