View Code? Open in Web Editor
NEW
This project forked from ilovehotmilk/smartfactory
C# 集成了离线人脸识别、离线实时语音识别和离线语音合成功能的WPF项目
smartfactory's Introduction
- Windows 7
- Visual Studio 2017
- .Net 4.6.1
- 在科大讯飞官网注册并获取离线命令词识别SDK和离线语音合成SDK
- 将SmartFactory项目下的msc_x64.dll替换为离线命令词识别SDK中bin文件夹中的msc_x64.dll
- 将SmartFactory项目下msc/asr文件夹中的所有.jet文件删除并替换为自己下载的离线命令词识别SDK中bin/msc/res/asr文件夹中的所有.jet文件
- 将SmartFactory项目下msc/tts文件夹中的所有.jet文件删除并替换为自己下载的离线语音合成SDK中bin/msc/res/tts文件夹中的所有.jet文件
- 用讯飞开放平台控制台中的APPID给SmartFactory项目下MainWindows.xaml.cs文件中的"loginParam"属性赋值(例如:loginParam = "APPID = 123456";)
- 将SmartFactory项目下的tengen.bnf中的command替换为自己需要识别的命令词,不同命令词之间用"|"分隔
- SmartFactory项目下的tengen.tbk中的每一行为一个完整的语音识别和合成的反馈组合,"|"的左边为语音识别的命令词,右边为语音合成需要反馈的语句
- 在Windows10环境下编译运行可能会遇到语音识别模块的报错问题。
解决方案:
1、在Windows7环境下编译运行
2、向科大讯飞QQ群求助(群号:514352489)
smartfactory's People
Contributors
Watchers