Rank: 46421 based on downloads (last 30 days) and 0 files submitted
photo

Soeren Sproessig

E-mail
Company/University
TU Chemnitz

Personal Profile:

Professional Interests:
image processing, face detection

 

Watch this Author's files

 

Comments and Ratings by Soeren View all
Updated File Comments Rating
04 Nov 2009 Face Detection Toolbox Faces detection using Local Binary Patterns and Haar features Author: Sebastien Paris

to build vcagp2.cpp (used in demo_detector_haar as camera acquisition provider) there are some other tricks
1. create a dummy dxtrans.h which seems to be missing in the SDK:
c:\Program Files\Microsoft SDKs\Windows\v6.0A\Include\dxtrans.h
#define __IDxtCompositor_INTERFACE_DEFINED__
#define __IDxtAlphaSetter_INTERFACE_DEFINED__
#define __IDxtJpeg_INTERFACE_DEFINED__
#define __IDxtKey_INTERFACE_DEFINED__

see: sample from http://www.riseoftheants.com/mmx/faq.htm#mjpegsample

2. some changes in code to be able to compile with VC08 and the current SDK in Win64:

82d81
<
629,630c628
< // pbmi->hInst = (HINSTANCE)GetWindowLong(GetFocus(),GWL_HINSTANCE);
< pbmi->hInst = (HINSTANCE)GetWindowLongPtr(GetFocus(), GWLP_HINSTANCE);
---
> pbmi->hInst = (HINSTANCE)GetWindowLong(GetFocus(),GWL_HINSTANCE);
958c956
< wc.lpfnWndProc =(WNDPROC) WndProc;
---
> wc.lpfnWndProc = WndProc;

04 Nov 2009 Face Detection Toolbox Faces detection using Local Binary Patterns and Haar features Author: Sebastien Paris

in addition to my prior post:
to build vcapg2.cpp you need to have a current Microsoft DirectX SDK installed...

04 Nov 2009 Face Detection Toolbox Faces detection using Local Binary Patterns and Haar features Author: Sebastien Paris

excellent work!

to use it with matlab R2009b x64 on win7pro64 I had to change mexme_fdt.m a little bit:

44c44,46
< lib = ['"' , fullfile(matlabroot , sprintf('extern\\lib\\%s\\microsoft\\libmwblas.lib',computer('arch'))) , '"'];
---
>
> lib = ['"' , fullfile(matlabroot , 'extern\lib\win32\microsoft\libmwblas.lib') , '"'];
>
135c137

04 Nov 2009 Face Detection Toolbox Faces detection using Local Binary Patterns and Haar features Author: Sebastien Paris

 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com