本地使用ai实现语音转文字

mtain 2024年06月20日 347次浏览

说明

  1. openai开源的语音识别模型whisper,无需联网,本地实现语音转文字,还能实现语言翻译
    Github:https://github.com/openai/whisper
    运行需要安装python等环境

  2. 基于whisper封装的桌面软件(whisper.cpp)
    https://github.com/Const-me/Whisper

whisper.cpp

1. 下载桌面应用

image.png

2. 下载模型

运行

image.png

根据提示下载模型

image.png

image.png

3.运行

image.png

image.png

image.png

image.png