Wukong robot frame and installation tutorial

frame

  • Here Insert Picture Description

installation

mac users

$ brew upgrade ffmpeg
$ pip3 install pyaudio
$ brew install swig 
$ cd wukong-robot
$ pip3 install -r requirements.txt -i https://pypi.douban.com/simple  
$ brew install imagesnap # 摄像头

Construction of snowboy

$ wget http://hahack-1253537070.file.myqcloud.com/misc/snowboy.tar.bz2  # 使用我fork出来的版本以确保接口兼容
$ tar -xvjf snowboy.tar.bz2
$ cd snowboy/swig/Python3
$ make
$ cp _snowboydetect.so   <wukon-robot的根目录/snowboy/>

python3.5

pyyaml>=4.2b1
requests==2.21.0
baidu-aip==2.0.0.1
pydub==0.23.1
python-dateutil==2.7.5
watchdog==0.9.0
pytz==2018.9
fire==0.1.3
tornado==5.1.1
markdown==3.0.1
semver==2.8.1
websocket==0.2.1
websocket-client==0.56.0
pypinyin
jieba
pyaudio
# python==3.5

upgrade

python3 wukong.py update
Published 299 original articles · won praise 129 · views 80000 +

Guess you like

Origin blog.csdn.net/weixin_32393347/article/details/104405661