Azure Speech SDK语言使用python从流中转换为文本

问题描述 投票:0回答:1

我正在尝试将UI的流作为流发送到UI。我需要python Azure语音逻辑将语音转换为文本。我不确定如何使用pull / pusha音频输入流进行语音转文字

python azure stream speech-to-text
1个回答
0
投票

有使用cognitive services speech sdk的示例。

特别是,对于将其与拉流一起使用,可以参考:speech_recognition_with_pull_stream(),对于与推流一起使用,可以参考:speech_recognition_with_push_stream()

希望有帮助。

© www.soinside.com 2019 - 2024. All rights reserved.