1 Star 0 Fork 3

Mike_W / 百度精灵语音对话

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
Unlicense

百度精灵语音对话

介绍

使用百度语音识别SDK,模拟天猫精灵,实现一个简单的语音对话

用户说:百度精灵 程序回复:你好我在

可以在faq.py中加入自己想要的对话语句

语音录音时间2s

程序出处:https://www.cnblogs.com/DragonFire/p/9212935.html

这篇文档写的相当不错

使用说明

  1. Python环境中需要安装:pyaudio, aip

  2. windows环境下需要安装ffmpeg,请注意加入到Path中

  3. 在baidu_ai文件下添加自己的KEY

    """ 你的 APPID AK SK """

    APP_ID = ''

    API_KEY = ''

    SECRET_KEY = ''

  4. main为运行程序

This is free and unencumbered software released into the public domain. Anyone is free to copy, modify, publish, use, compile, sell, or distribute this software, either in source code form or as a compiled binary, for any purpose, commercial or non-commercial, and by any means. In jurisdictions that recognize copyright laws, the author or authors of this software dedicate any and all copyright interest in the software to the public domain. We make this dedication for the benefit of the public at large and to the detriment of our heirs and successors. We intend this dedication to be an overt act of relinquishment in perpetuity of all present and future rights to this software under copyright law. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. For more information, please refer to [http://unlicense.org]

简介

使用百度语音识别SDK,模拟天猫精灵,实现一个简单的语音对话用户 展开 收起
Python
Unlicense
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
Python
1
https://gitee.com/Mike_W/baidu_voice.git
git@gitee.com:Mike_W/baidu_voice.git
Mike_W
baidu_voice
百度精灵语音对话
master

搜索帮助