在桌面 (Windows) 应用程序的 flutter 中将语音转换为文本

发布于 2025-01-17 04:52:33 字数 353 浏览 1 评论 0原文

我正在 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

娇俏 2025-01-24 04:52:33

您可以尝试使用 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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文