This commit is contained in:
light
2018-02-12 16:27:08 +08:00
parent 2f93d4a638
commit ad583d960b
11 changed files with 159 additions and 2 deletions
+19
View File
@@ -0,0 +1,19 @@
# dilib使用笔记
## installation
``` bash
git clone https://github.com/davisking/dlib.git
# 编译
cd dlib
mkdir build
cd build
cmake .. -DDLIB_USE_CUDA=0 -DUSE_AVX_INSTRUCTIONS=1
cmake --build
# 编译安装python包
cd ..
python3 setup.py install --yes USE_AVX_INSTRUCTIONS --no DLIB_USE_CUDA
```
+2
View File
@@ -0,0 +1,2 @@
sudo apt-get install portaudio19-dev python-all-dev python3-all-dev
pip install pyaudio