开源软件名称(OpenSource Name):respeaker/respeaker_python_library开源软件地址(OpenSource Url):https://github.com/respeaker/respeaker_python_library开源编程语言(OpenSource Language):Python 100.0%开源软件介绍(OpenSource Introduction):ReSpeaker Python LibraryReSpeaker is an open project to create voice enabled objects. ReSpeaker python library is an open source python library to provide basic functions of voice interaction. It uses PocketSphinx for keyword spotting and uses webrtcvad for voice activity detecting. Installation (Not for ReSpeaker Core)
On windows, we can use pre-compiled python wheel packages of pocketsphinx and pyaudio from speech_recognition. For python 2.7, run:
On Linux
MacOSX install ReSpeaker Python Library 0.(brew install python2) 1.pip2 install pocketsphinx webrtcvad 2.(Since pyAudio has portAudio as a dependency, you first have to install portaudio: brew install portaudio) pip install pyaudio respeaker --upgrade 3.Install hidapi (optional) stdio.h file not found error on macOS MojaveFor anyone discovering this later on who may not be familiar with the command line, here's how to install the macOS_SDK_headers_for_macOS_10.14.pkg package as explained in @yicongli's response above: In Terminal.app or any shell app like iTerm: cd /Library/Developer/CommandLineTools/Packages/ open macOS_SDK_headers_for_macOS_10.14.pkg Make sure you go through the whole thing and try to install the gem that failed to install again or run bundle install again if this was something you encountered while trying to install from a Gemfile. Getting started
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论