Rank: 412426 based on 0 downloads (last 30 days) and 0 file 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 Objects/Faces Detection Toolbox Objects/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 Objects/Faces Detection Toolbox Objects/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 Objects/Faces Detection Toolbox Objects/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 Objects/Faces Detection Toolbox Objects/Faces detection using Local Binary Patterns and Haar features Author: Sebastien PARIS

Contact us