asmlib-opencv-master

所属分类:图形图像处理
开发工具:Visual C++
文件大小:1035KB
下载次数:43
上传日期:2015-01-09 16:58:14
上 传 者leo.lisf
说明:  图形图像识别根据人脸的特征库来进行人脸边缘轮廓的识别和特征部位的识别
(this is a program,it can detect face by face s db)

文件列表:
data (0, 2013-10-06)
data\color_asm68.model (507830, 2013-10-06)
data\color_asm75.model (584162, 2013-10-06)
data\grayall_asm.model (431232, 2013-10-06)
data\grey_asm.model (388301, 2013-10-06)
data\haarcascade_frontalface_alt.xml (919871, 2013-10-06)
data\muct (0, 2013-10-06)
data\muct\download (0, 2013-10-06)
data\muct\genPTS.py (1438, 2013-10-06)
data\muct\muct76.def (286, 2013-10-06)
data\muct\prepare.sh (651, 2013-10-06)
data\muct76.model (610692, 2013-10-06)
src (0, 2013-10-06)
src\CMakeLists.txt (856, 2013-10-06)
src\Doxyfile.in (77821, 2013-10-06)
src\annotation (0, 2013-10-06)
src\annotation\CMakeLists.txt (531, 2013-10-06)
src\annotation\annotation.pro (512, 2013-10-06)
src\annotation\main.cpp (177, 2013-10-06)
src\annotation\mainwindow.cpp (5012, 2013-10-06)
src\annotation\mainwindow.h (841, 2013-10-06)
src\annotation\mainwindow.ui (5756, 2013-10-06)
src\annotation\photoview.cpp (3169, 2013-10-06)
src\annotation\photoview.h (2050, 2013-10-06)
src\annotation\pointspaint.cpp (4813, 2013-10-06)
src\annotation\pointspaint.h (2298, 2013-10-06)
src\annotation\singlephotoview.cpp (4472, 2013-10-06)
src\annotation\singlephotoview.h (1083, 2013-10-06)
src\cmake (0, 2013-10-06)
src\cmake\Modules (0, 2013-10-06)
src\cmake\Modules\FindOpenCV.cmake (8126, 2013-10-06)
src\demo (0, 2013-10-06)
src\demo\CMakeLists.txt (235, 2013-10-06)
src\demo\XGetopt.cpp (6858, 2013-10-06)
... ...

asmlib-opencv ============= This repo is a fork of https://code.google.com/p/asmlib-opencv/ to demonstrate how 3rd party C++ modules can be integrated into the Python bindings for OpenCV. This code depends on https://github.com/Itseez/opencv/pull/1571. # Build instructions The following lines are copy-and-pastable instructions to build the OpenCV branch in the Pull Request above and this repository. ## Build OpenCV branch This will download and build the code from the dependant branch and then install it into a temporary directory. ```bash git clone https://github.com/derfred/opencv.git opencv_external cd opencv_external git checkout external_python_modules mkdir build cd build cmake -D CMAKE_INSTALL_PREFIX=../../opencv_external_install .. make make install ``` On my machine (MacOS Mountain Lion with Python installed via homebrew) I had to specify the Python executable. Should you have problems building, try the following changes to the cmake line: ```bash cmake -D CMAKE_INSTALL_PREFIX=../../opencv_external_install -D PYTHON_EXECUTABLE=/usr/local/bin/python -D PYTHON_INCLUDE_DIR=/usr/local/Cellar/python/2.7.4/Frameworks/Python.framework/Headers -D PYTHON_LIBRARY=/usr/local/Cellar/python/2.7.4/Frameworks/Python.framework/Versions/2.7/lib/libpython2.7.dylib .. ``` ## Build ASMLib (this repository) ```bash git clone https://github.com/derfred/asmlib-opencv.git cd asmlib-opencv/src mkdir build cd build OpenCV_DIR=../../../opencv_external_install/share/OpenCV/ cmake .. make ``` # Run the demo If you have followed the steps above then the following will run the Python demo on your webcam, assuming your CWD is src/demo. ```bash PYTHONPATH="../build/lib:$PYTHONPATH" python demo.py -f -pc -m ../../data/muct76.model -C ../../data/haarcascade_frontalface_alt.xml ```

近期下载者

相关文件


收藏者