图片/视频人脸检测相关文章地址:
http://abruzzi.javaeye.com/blog/463668
http://dataming.blog.163.com/blog/static/10195189820097855650655/
pycv下载地址:http://sourceforge.net/projects/pycv/files/Development%20Release/0.3.0/pycv-0.3.0.zip/download
在安装pycv之前,需要安装numpy和scipy,我们可以通过apt-get install 来安装:
sudo apt-get install python-numpy
sudo apt-get install python-scipy
error: ‘memcpy’ was not declared in this scope
解决方法:在pycv文件路径下/pycv/libraries/sdcpp/SdSRFeature.cpp中加入#include <string.h>,如果其他文件中出现此问题,同样做法。
error: ‘upper_bound’ was not declared in this scope
解决方法:在pycv文件下路径/pycv/libraries/sdcpp/uac.cpp中加入#include <algorithm>,如果其他文件中出现此问题,同样做法。
帮助网址:http://www.sgi.com/tech/stl/upper_bound.html
文字如下:
Definition
Defined in the standard header algorithm, and in the nonstandardbackward-compatibility header algo.h.
完成以上后可以安装pycv:
此时可以安装pycv,在文件目录下通过sudo python setup.py install来安装