![cover](https://img-blog.csdnimg.cn/7c182ec7b2c04a168a883659d928a78a.png)
【语音识别】OpenAI whisper
OpenAI 的开源自动语音识别神经网络 whisper。
·
目录
1. 简单介绍
Introducing Whisperhttps://openai.com/blog/whisper/
OpenAI 的开源自动语音识别神经网络 whisper
2. 代码调用
安装
# whisper
pip install git+https://github.com/openai/whisper.git
# on Ubuntu or Debian
sudo apt update && sudo apt install ffmpeg
# 更多参考 https://github.com/openai/whisper
Python 调用
import whisper
model = whisper.load_model("base")
result = model.transcribe("audio.mp3")
print(result["text"])
更多推荐
所有评论(0)