4.88889

4.9 | 9 ratings Rate this file 172 downloads (last 30 days) File Size: 1.9 MB File ID: #20976

fdlibmex --- fast and simple face detection

by Wolf Kienzle

 

05 Aug 2008 (Updated 02 Sep 2008)

No BSD License  

An efficient and easy-to-use mex library for detecting frontal faces in images

Download Now | Watch this File

File Information
Description

fdlibmex is a very simple face detection library for matlab. No toolboxes are required. The library consists of a single mex file with a single function that takes an image as input and outputs the locations of the frontal faces in the image.

The zip file includes mex files for the 32bit Windows, Linux and Mac platforms supported by Matlab, and an example script that illustrates the usage of the library.

MATLAB release MATLAB 7.6 (R2008a)
Zip File Content  
Other Files pcwin/fdlibmex.dll,
fdlibmex_demo.m,
judybats.jpg,
glnx86/fdlibmex.mexglx,
maci/fdlibmex.mexmaci
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (24)
10 Aug 2008 Sebastien PARIS

Why don't you offer the source code ? or indicate any references ?.

12 Aug 2008 Wolf Kienzle

The library implements a new algorithm (i.e. not Viola/Jones or the like) that has not been published yet. That's why there are no references, sorry.

03 Sep 2008 Peter Gehler

Worked out of the box with good results

05 Sep 2008 Jordi Palacin

Very nice and fast.

13 Sep 2008 Help the Noob

HI
I am very curious of me but and want to
try out this stuff...
but do i need Mathworks Matlab R2008a to make this work?

14 Nov 2008 Angela

Hi Wolf,
 
Nice work on the face detector, seems to work well! Two questions though: (1) Is there any way gain access to parameters to adjust for precision and (2) are there any scores / confidences attached to each face detection?

Thanks,
Angela

22 Nov 2008 Wolf Kienzle

hi angela,

there is an optional sensitivity parameter, you just call pos = fdlibmex(img, threshold). threshold makes most sense around -10..10.

unfortunately, there are no scores :( however, you can get an idea of the confidence by running the detector again with a higher threshold and checking which detections remain.

good luck!
-wolf

24 Nov 2008 sri hari bhupala haribhakta

Dear Wolf,

is there any way to detect eyes, nose and lips using this code?

regards,
bhupala

26 Nov 2008 James C  
26 Nov 2008 James C

Hi Wolf,

Great program, its reliable and quick. I was wondering if you know when you are going to publish a journal? Also is you algorithm based on a particular type of face detection (e.g. active shape modeling or image integrals...)

Cheers
James

22 Dec 2008 Wolf Kienzle

hi!

bhupala: the library cannot detect eyes and nose directly. but the face detection result should be a good starting point for where to look for eyes, nose, etc.

james: thanks! the algorithm uses a cascaded classifier, however, unlike viola/jones, it does not use integral images or haar wavelets. i hope i will manage to write up something soon. when that happens, i'll definitely post a link in here. :)

happy holidays!

-wolf

15 Jan 2009 Gerardo Rosiles

Hi,

Great work. Thanks for posting it. Are you using still using the Rank Deficient Faces algorithm? If this is another algorithm can you provide a reference at this point?

Thanks,

Gerardo

15 Jan 2009 Gerardo Rosiles

Sorry, I did not read all the comments above. Are there any updates on the publlication and will it be protected by a patent?

05 Mar 2009 Hanaa

 Hi all!
 
I'm doing my final year project on 'Image Processing Methods for facial recognition using Matlab'. I've got Visual Studio 2005 background but never used MatLab before. I've just started on with research, video tutorials and reading.
 
Can anyone please help me with a guide, where can I start this from? Does this face detection code helps?
 
Your help would be very much appreciated! :))

30 Apr 2009 PEDRO GARCIA

It's fast to find a face with this code. The fastest code I have found on the web.

Could you provide any estimation about when the publication will be available?

Thanks,

08 May 2009 Zhe ‹

very nice work, it is so fast. how can i get more accuracy result from this demo. thanks

18 May 2009 Daniel N

good!

19 May 2009 ddt99999 Tong

Is it possible to have mex files for 64bit Windows? Thanks a lot..

24 Aug 2009 pin pin

heloo... how to use this using visual foxpro or visual basic?
how to declare it?
thanks

03 Sep 2009 Janayna

Very nice work. What database did you use? I work with face recognition I need help to find a large number of train images.

Thanks

01 Oct 2009 Alfian Abdul Halin

Hi Wolf :)

I was trying to use your code... but it didn't work for any of my test images. I am working with football (soccer) videos.. and I tested on some frames (640X480)...

Image quality is quite ok (not excellent). All are in JPEG extension (not JPG)... but no errors were given... I had to add extra code to change from RGB to Grayscale tho.

Do you know why this is happening? I was expecting it to work because of the many good reviews ure getting. Anyway... I still believe it could work. Maybe I need to add some things here and there? thankx

04 Oct 2009 Wolf Kienzle

Hi Alfian,

if you don't get an error message, then everything should be working OK. If not, here's a few things you may want to check: Have you tested it with the example image I provided? Are the faces in your images large enough (about 25x25 pixels)? Are they somewhat evenly illuminated and frontal (not rotated, no side views)? Have you tried cranking up the detection threshold?

Hope that helps!

03 Nov 2009 Vitomir Struc

Great job.

21 Nov 2009 Bhuvan Goradia

I tried to run the demo file but got an error "Undefined function or variable fdlibmex"
Do we need to load the dll library and if yes how to do this as the load library function requires a header which is no provided.
Please help.

Please login to add a comment or rating.
Updates
06 Aug 2008

file description extended

02 Sep 2008

minor bug fixed

Tag Activity for this File
Tag Applied By Date/Time
image analysis Wolf Kienzle 22 Oct 2008 10:13:15
face Wolf Kienzle 22 Oct 2008 10:13:15
detection Wolf Kienzle 22 Oct 2008 10:13:15
recognition Wolf Kienzle 22 Oct 2008 10:13:15
image Wolf Kienzle 22 Oct 2008 10:13:15
image processing Wolf Kienzle 22 Oct 2008 10:13:15
finding Wolf Kienzle 22 Oct 2008 10:13:15
face Piyeta Barma 12 Apr 2009 14:17:04
 

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