mpisearch
所属分类:图形图像处理
开发工具:Visual C++
文件大小:2047KB
下载次数:117
上传日期:2006-07-14 21:18:42
上 传 者:
smallwolf
说明: 国外著名大学成功的人脸检测示例中一部分!包含多种环境下的代码
(famous University of face detection illustration part! Covering a wide variety of environment code)
文件列表:
mpisearch\.cvswrappers (2183, 2004-09-10)
mpisearch\mac\copy2frameworks.py (381, 2004-09-29)
mpisearch\mac\English.lproj\InfoPlist.strings (260, 2004-09-14)
mpisearch\mac\English.lproj (0, 2005-07-06)
mpisearch\mac\Info.plist (722, 2004-09-14)
mpisearch\mac\mpisearch.xcode\project.pbxproj (13507, 2004-09-29)
mpisearch\mac\mpisearch.xcode (0, 2005-07-06)
mpisearch\mac\version.plist (467, 2004-09-14)
mpisearch\mac (0, 2005-07-06)
mpisearch\matlab\Contents.m (1787, 2005-01-06)
mpisearch\matlab\createMPIWeightsCode.m (7373, 2005-04-22)
mpisearch\matlab\cxxopts.sh (2670, 2004-09-10)
mpisearch\matlab\drawBox.m (2064, 2005-01-06)
mpisearch\matlab\fd_data.mat (10307504, 2004-09-10)
mpisearch\matlab\Jamfile (307, 2005-04-26)
mpisearch\matlab\loadImage.m (1854, 2005-01-06)
mpisearch\matlab\loadstruct.cc (8955, 2005-05-26)
mpisearch\matlab\loadstruct.h (1832, 2004-09-10)
mpisearch\matlab\mp_blink.cc (3136, 2004-09-10)
mpisearch\matlab\mp_grabSamples.cc (6558, 2005-05-26)
mpisearch\matlab\mp_grabSamples.m (118, 2004-09-10)
mpisearch\matlab\mp_makeindex.cc (4872, 2005-01-05)
mpisearch\matlab\mp_makeindex.m (598, 2005-05-26)
mpisearch\matlab\mpisearch.m (2711, 2005-04-22)
mpisearch\matlab\mpisearchMex.cc (6844, 2005-04-22)
mpisearch\matlab\mpisearchMex.h (2134, 2005-04-22)
mpisearch\matlab\mpisearchMex.m (3447, 2005-01-06)
mpisearch\matlab\mpisearchMexObject.cc (2761, 2005-04-22)
mpisearch\matlab\output.m (3750, 2005-01-06)
mpisearch\matlab\shape_all_features.m (2209, 2004-09-10)
mpisearch\matlab\showDetects.m (2162, 2005-01-06)
mpisearch\matlab\windows\mexFunction.def (224, 2005-01-05)
mpisearch\matlab\windows\mpisearchmex.dsp (4849, 2005-01-05)
mpisearch\matlab\windows\mpisearchmex.dsw (842, 2005-01-05)
mpisearch\matlab\windows (0, 2005-07-06)
mpisearch\matlab (0, 2005-07-06)
mpisearch\src\ci.cc (887528, 2005-04-22)
... ...
This README is to compile and run mpisearch mex files for matlab
To build read OS builds below
Open matlab
either setpath or move to mpisearch/matlab directory
To run mpisearch
file to run is mpisearch.m
most basic command:
>> [boxes, detects, n] = mpisearch('image_path');
'image_path' is a string that points to location of image
to see results use:
>> [boxes, detects, n] = eyefinder('image_path', 'show_results');
output:
boxes is a nx6 matrix return of face locations where n is the number of face boxes. The columns represnt the box of return, 3 = row, 4 = row2, 5 = col, 6 = col2.
extended options:
use matlab help for use of more options
>> help mpisearch
Unix/Mac bjam Build
follow the instructions under MPT/Docs on how to build environment.
This build will build proper mex files in the mpisearch/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\mpisearchmex.dsw
Build either mpisearchmex - release or debug
***make sure that mpisearchmex is the active project
**if build did not work make sure matlab is closed (see note below)
dll file is placed in matlab director (confirm that mpisearchMex.dll exist)
this will also build the needed mpisearch cpp projects
if mpisearch 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 accomplished 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/
近期下载者:
相关文件:
收藏者: