文件名称:OpenCV_face_detector
介绍说明--下载内容均来自于网络,请自行研究使用
This zip file contains source code and windows executables for carrying out face detection on a gray scale image. The code implements Viola-Jones adaboosted algorithm for face detection by providing a mex implementation of OpenCV s face detector. Instructions for use and for compiling can be found in the Readme file.
Usage:
FaceDetect (<Haar Cascase XML file>, <Gray scale Image>)
The function returns Nx4 matrix. In case no faces were detected, N=1 and all four entries are -1. Otherwise, N=number of faces in the image and the vector contains the x, y, width and height information of the face.
Example,
A = imread ( lena.jpg , JPG )
Img = double (rgb2gray(A))
Face = FaceDetect( haarcascade_frontalface_alt2.xml ,Img)
Usage:
FaceDetect (<Haar Cascase XML file>, <Gray scale Image>)
The function returns Nx4 matrix. In case no faces were detected, N=1 and all four entries are -1. Otherwise, N=number of faces in the image and the vector contains the x, y, width and height information of the face.
Example,
A = imread ( lena.jpg , JPG )
Img = double (rgb2gray(A))
Face = FaceDetect( haarcascade_frontalface_alt2.xml ,Img)
(系统自动生成,下载前可以参看下载内容)
下载文件列表
压缩包 : 53607922opencv_face_detector.zip 列表 bin/cv100.dll bin/cxcore100.dll bin/FaceDetect.dll bin/FaceDetect.mexw32 haarcascade_frontalface_alt2.xml Include/cv.h Include/cv.hpp Include/cvcompat.h Include/cvtypes.h Include/cvver.h Include/cxcore.h Include/cxcore.hpp Include/cxerror.h Include/cxtypes.h lena.jpg lib/cv.lib lib/cvhaartraining.lib lib/cxcore.lib Readme.txt src/FaceDetect.cpp TestFaceDetection.m