eyefinder
所属分类:图形图像处理
开发工具:Visual C++
文件大小:757KB
下载次数:955
上传日期:2006-07-14 21:16:07
上 传 者:
smallwolf
说明: 国外著名大学成功的人脸检测示例中的人眼检测!包含多种环境下的代码
(famous University of face detection example of the human eye inspection! Covering a wide variety of environment code)
文件列表:
eyefinder\.gdb_history (237, 2004-09-10)
eyefinder\mac\English.lproj\InfoPlist.strings (270, 2004-11-12)
eyefinder\mac\English.lproj (0, 2005-07-06)
eyefinder\mac\eyefinder.1 (3015, 2004-09-10)
eyefinder\mac\Info.plist (717, 2004-11-12)
eyefinder\mac\libmpeyefinder.xcode\ianfasel.mode1 (35559, 2005-05-26)
eyefinder\mac\libmpeyefinder.xcode\ianfasel.pbxuser (15662, 2005-05-26)
eyefinder\mac\libmpeyefinder.xcode\project.pbxproj (16062, 2004-11-13)
eyefinder\mac\libmpeyefinder.xcode (0, 2005-07-06)
eyefinder\mac\libmpeyefinder_Prefix.pch (160, 2004-11-12)
eyefinder\mac\version.plist (467, 2004-11-12)
eyefinder\mac (0, 2005-07-06)
eyefinder\matlab\Contents.m (1921, 2005-01-06)
eyefinder\matlab\eyefinder.m (3564, 2005-04-22)
eyefinder\matlab\Jamfile (250, 2005-04-26)
eyefinder\matlab\loadImage.m (1854, 2005-01-06)
eyefinder\matlab\Makefile (14233, 2004-09-10)
eyefinder\matlab\Makefile.am (684, 2004-09-10)
eyefinder\matlab\Makefile.in (15022, 2004-09-10)
eyefinder\matlab\mirrorClassifier.m (2047, 2005-01-06)
eyefinder\matlab\MirrorFeature.m (2247, 2005-01-06)
eyefinder\matlab\mp_eyefinderMex.cc (13690, 2005-04-22)
eyefinder\matlab\mp_eyefinderMex.h (2070, 2005-04-22)
eyefinder\matlab\mp_eyefinderMexObject.cc (1753, 2004-09-10)
eyefinder\matlab\mp_grab_eyefinder_samples.cc (0, 2004-09-10)
eyefinder\matlab\mp_make_eyefinder_index.cc (0, 2004-09-10)
eyefinder\matlab\shape_all_features.m (737, 2005-01-05)
eyefinder\matlab\show_eye_faces.m (2429, 2005-01-06)
eyefinder\matlab\show_search_locations.m (5948, 2005-01-06)
eyefinder\matlab\testmat.m (174, 2004-09-10)
eyefinder\matlab\windows\mexFunction.def (230, 2005-01-05)
eyefinder\matlab\windows\mp_eyefinderMex.dsp (5105, 2005-01-05)
eyefinder\matlab\windows\mp_eyefinderMex.dsw (1156, 2005-01-05)
eyefinder\matlab\windows (0, 2005-07-06)
eyefinder\matlab (0, 2005-07-06)
eyefinder\src\beyesobject.cpp (3508, 2004-09-10)
eyefinder\src\beyesobject.h (2187, 2004-12-07)
eyefinder\src\define.h (148, 2004-09-10)
... ...
This README is to compile and run eyefinder mex files for matlab
To build read OS builds below
Open matlab
either setpath or move to eyefinder/matlab directory
To run eyefinder
file to run is eyefinder.m
most basic and fastest:
>> F = eyefinder('image_name');
'image_name' is a string that points to location of image
to see results:
>> F = eyefinder('image_name', 'show_results');
extended options:
image can be preloaded using imread or loadimage (loadimage sets image in the correct format)
use different eye search algorithms
search options are listed in help
'wt_avg' is default search
use different weights
different weight files can be used,this is the ci file mentioned in help.
an example weight files is stored as GentleEye_eyeDist_faceCentered.mat in matlab directory. This is the defaults weights used by eyefinder.
*note if you want to use different weights contact the developers
Unix/Mac bjam Build
follow the instructions under MPT/Docs on how to build environment.
This build will build proper mex files in the eyefinder/matlab directory
Windows Visual C++ 6.0 Build
setup paths to Matlab in Visual C++
Locate the directory that Matlab exist
typically C:\Program Files\MATLAB7\
Add both include and library paths into visual c++
open visual c++
go to tools->Options->Directories
Under Show directories for select Include files
select new entry and add C:\Program Files\MATLAB7\extern\include (note path may be different)
needed for files mex.h and maxtrix.h
Under Show directories for select Library files
add C:\Program Files\MATLAB7\extern\lib\win32\microsoft\msvc60
needed for libmx.lib libmex.lib libmat.lib
Open windows\mp_eyefinderMex.dsw
Build either mp_eyefinderMex - release or debug
***make sure that mp_eyefinderMex is the active project
dll file is placed in matlab director (confirm that mp_eyefinderMex.dll exist)
this will also build the needed mpisearch and eyefinder projects
if mpisearch or eyefinder did not get built right click the projects under the workspace in the visual c++ gui and select build.
setpath or move to the matlab file to run
*note after matlab is ran you will need to clear out the dll from matlab before you can make another build. This can be done by typing clear all in matlab.
The Matlab options is beta so please report any bugs to the MPT developers.
For any fixes contact the MPT admin to become a developer
http://sourceforge.net/projects/mptbox/
近期下载者:
相关文件:
收藏者: