[P]facerec_01

face python raspcam


facerec 安装

##使用facerec要用到以下库: http://bytefish.de/dev/facerec/install/index.html


  • PIL
  • NumPy
  • SciPy
  • matplotlib
  • cython?? (忘了到底要不要了 不行就装一下吧 不会怀的)
    • -

##facerec 安装

从github下载

git clone https://github.com/bytefish/facerec.git

##PIL安装

安装 python-dev

apt-get install python-dev

安装PIL(python image library)

http://www.pythonware.com/products/pil/index.htm

tar xvfz Imaging-1.1.7.tar.gz
cd Imaging-1.1.7
python setup.py install

##NumPy安装

apt-get install python-numpy

##SciPy 安装SciPy之前首先安装必要的库

pip install nose
apt-get install python-numpy python-scipy
apt-get install python python-dev libatlas-base-dev gcc gfortran g++

下载SciPy

git clone git://github.com/scipy/scipy.git scipy

安装SciPy(要等会 开个小差吧)

python setup.py install

进入python测试一下

>>> import scipy
>>> scipy.test()

##matplotlib安装

apt-get install python-matplotlib

##cython安装

apt-get install cython

###TOP


Next: [P]opencv-python_09 Previous: [P]opencv-python_10

You May Also Enjoy :

[P]Object Tracking with opencv-python
[P]opencv-python_11
[P]opencv-python_10

Blog search

If you think my article can help you, please click on the ad to support me! ↓↓↓